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