src.index.GetPropertyRulesBuilderResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetPropertyRulesBuilderResult private(
id: String,
json: String,
ruleFormat: String,
rulesV20230105: scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230105],
rulesV20230530: scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230530],
rulesV20230920: scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230920],
rulesV20231030: scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20231030],
rulesV20240109: scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20240109],
rulesV20240212: scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20240212]
)
object GetPropertyRulesBuilderResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetPropertyRulesBuilderResult] =
besom.internal.Decoder.derived[GetPropertyRulesBuilderResult]
given outputOps: {} with
extension(output: besom.types.Output[GetPropertyRulesBuilderResult])
def id : besom.types.Output[String] = output.map(_.id)
def json : besom.types.Output[String] = output.map(_.json)
def ruleFormat : besom.types.Output[String] = output.map(_.ruleFormat)
def rulesV20230105 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230105]] = output.map(_.rulesV20230105)
def rulesV20230530 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230530]] = output.map(_.rulesV20230530)
def rulesV20230920 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230920]] = output.map(_.rulesV20230920)
def rulesV20231030 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20231030]] = output.map(_.rulesV20231030)
def rulesV20240109 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20240109]] = output.map(_.rulesV20240109)
def rulesV20240212 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20240212]] = output.map(_.rulesV20240212)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetPropertyRulesBuilderResult]])
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def json : besom.types.Output[scala.Option[String]] = output.map(_.map(_.json))
def ruleFormat : besom.types.Output[scala.Option[String]] = output.map(_.map(_.ruleFormat))
def rulesV20230105 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230105]] = output.map(_.flatMap(_.rulesV20230105))
def rulesV20230530 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230530]] = output.map(_.flatMap(_.rulesV20230530))
def rulesV20230920 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20230920]] = output.map(_.flatMap(_.rulesV20230920))
def rulesV20231030 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20231030]] = output.map(_.flatMap(_.rulesV20231030))
def rulesV20240109 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20240109]] = output.map(_.flatMap(_.rulesV20240109))
def rulesV20240212 : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyRulesBuilderRulesV20240212]] = output.map(_.flatMap(_.rulesV20240212))