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

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

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


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

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



  given outputOps: {} with
    extension(output: besom.types.Output[CloudwrapperConfigurationLocationCapacity])
      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[CloudwrapperConfigurationLocationCapacity]])
      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