src.index.GetPropertyRulesResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetPropertyRulesResult private(
contractId: String,
errors: String,
groupId: String,
id: String,
propertyId: String,
ruleFormat: scala.Option[String],
rules: String,
version: Int
)
object GetPropertyRulesResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetPropertyRulesResult] =
besom.internal.Decoder.derived[GetPropertyRulesResult]
given outputOps: {} with
extension(output: besom.types.Output[GetPropertyRulesResult])
def contractId : besom.types.Output[String] = output.map(_.contractId)
def errors : besom.types.Output[String] = output.map(_.errors)
def groupId : besom.types.Output[String] = output.map(_.groupId)
def id : besom.types.Output[String] = output.map(_.id)
def propertyId : besom.types.Output[String] = output.map(_.propertyId)
def ruleFormat : besom.types.Output[scala.Option[String]] = output.map(_.ruleFormat)
def rules : besom.types.Output[String] = output.map(_.rules)
def version : besom.types.Output[Int] = output.map(_.version)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetPropertyRulesResult]])
def contractId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contractId))
def errors : besom.types.Output[scala.Option[String]] = output.map(_.map(_.errors))
def groupId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.groupId))
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def propertyId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.propertyId))
def ruleFormat : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.ruleFormat))
def rules : besom.types.Output[scala.Option[String]] = output.map(_.map(_.rules))
def version : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.version))