src.index.outputs.GtmPropertyTrafficTarget.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class GtmPropertyTrafficTarget private(
datacenterId: scala.Option[Int],
enabled: scala.Option[Boolean],
handoutCname: scala.Option[String],
name: scala.Option[String],
precedence: scala.Option[Int],
servers: scala.Option[scala.collection.immutable.List[String]],
weight: scala.Option[Double]
)
object GtmPropertyTrafficTarget :
given decoder(using besom.types.Context): besom.types.Decoder[GtmPropertyTrafficTarget] =
besom.internal.Decoder.derived[GtmPropertyTrafficTarget]
given outputOps: {} with
extension(output: besom.types.Output[GtmPropertyTrafficTarget])
def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.datacenterId)
def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
def handoutCname : besom.types.Output[scala.Option[String]] = output.map(_.handoutCname)
def name : besom.types.Output[scala.Option[String]] = output.map(_.name)
def precedence : besom.types.Output[scala.Option[Int]] = output.map(_.precedence)
def servers : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.servers)
def weight : besom.types.Output[scala.Option[Double]] = output.map(_.weight)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GtmPropertyTrafficTarget]])
def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.datacenterId))
def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
def handoutCname : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.handoutCname))
def name : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.name))
def precedence : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.precedence))
def servers : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.servers))
def weight : besom.types.Output[scala.Option[Double]] = output.map(_.flatMap(_.weight))