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