src.index.GetIamStatesResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetIamStatesResult private(
country: String,
id: String,
states: scala.collection.immutable.List[String]
)
object GetIamStatesResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetIamStatesResult] =
besom.internal.Decoder.derived[GetIamStatesResult]
given outputOps: {} with
extension(output: besom.types.Output[GetIamStatesResult])
def country : besom.types.Output[String] = output.map(_.country)
def id : besom.types.Output[String] = output.map(_.id)
def states : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.states)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetIamStatesResult]])
def country : besom.types.Output[scala.Option[String]] = output.map(_.map(_.country))
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def states : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.states))