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