src.index.GetAppSecRatePoliciesResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetAppSecRatePoliciesResult private(
configId: Int,
id: String,
json: String,
outputText: String,
ratePolicyId: scala.Option[Int]
)
object GetAppSecRatePoliciesResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetAppSecRatePoliciesResult] =
besom.internal.Decoder.derived[GetAppSecRatePoliciesResult]
given outputOps: {} with
extension(output: besom.types.Output[GetAppSecRatePoliciesResult])
def configId : besom.types.Output[Int] = output.map(_.configId)
def id : besom.types.Output[String] = output.map(_.id)
def json : besom.types.Output[String] = output.map(_.json)
def outputText : besom.types.Output[String] = output.map(_.outputText)
def ratePolicyId : besom.types.Output[scala.Option[Int]] = output.map(_.ratePolicyId)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetAppSecRatePoliciesResult]])
def configId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.configId))
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 outputText : besom.types.Output[scala.Option[String]] = output.map(_.map(_.outputText))
def ratePolicyId : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.ratePolicyId))