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