All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.outputs.GetCloudwrapperCapacitiesCapacityAssigned.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.outputs


final case class GetCloudwrapperCapacitiesCapacityAssigned private(
  unit: String,
  value: Int
)
object GetCloudwrapperCapacitiesCapacityAssigned :

  given decoder(using besom.types.Context): besom.types.Decoder[GetCloudwrapperCapacitiesCapacityAssigned] =
    besom.internal.Decoder.derived[GetCloudwrapperCapacitiesCapacityAssigned]



  given outputOps: {} with
    extension(output: besom.types.Output[GetCloudwrapperCapacitiesCapacityAssigned])
      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[GetCloudwrapperCapacitiesCapacityAssigned]])
      def unit : besom.types.Output[scala.Option[String]] = output.map(_.map(_.unit))
      def value : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.value))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy