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