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