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