src.index.GetCpsWarningsResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetCpsWarningsResult private(
id: String,
warnings: scala.Predef.Map[String, String]
)
object GetCpsWarningsResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetCpsWarningsResult] =
besom.internal.Decoder.derived[GetCpsWarningsResult]
given outputOps: {} with
extension(output: besom.types.Output[GetCpsWarningsResult])
def id : besom.types.Output[String] = output.map(_.id)
def warnings : besom.types.Output[scala.Predef.Map[String, String]] = output.map(_.warnings)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetCpsWarningsResult]])
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def warnings : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.map(_.warnings))