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