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