All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.outputs.GetGtmDomainPropertyTrafficTarget.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.outputs


final case class GetGtmDomainPropertyTrafficTarget private(
  datacenterId: Int,
  enabled: Boolean,
  handoutCname: String,
  name: String,
  precedence: Int,
  servers: scala.collection.immutable.List[String],
  weight: Double
)
object GetGtmDomainPropertyTrafficTarget :

  given decoder(using besom.types.Context): besom.types.Decoder[GetGtmDomainPropertyTrafficTarget] =
    besom.internal.Decoder.derived[GetGtmDomainPropertyTrafficTarget]



  given outputOps: {} with
    extension(output: besom.types.Output[GetGtmDomainPropertyTrafficTarget])
      def datacenterId : besom.types.Output[Int] = output.map(_.datacenterId)
      def enabled : besom.types.Output[Boolean] = output.map(_.enabled)
      def handoutCname : besom.types.Output[String] = output.map(_.handoutCname)
      def name : besom.types.Output[String] = output.map(_.name)
      def precedence : besom.types.Output[Int] = output.map(_.precedence)
      def servers : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.servers)
      def weight : besom.types.Output[Double] = output.map(_.weight)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetGtmDomainPropertyTrafficTarget]])
      def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.datacenterId))
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.enabled))
      def handoutCname : besom.types.Output[scala.Option[String]] = output.map(_.map(_.handoutCname))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def precedence : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.precedence))
      def servers : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.servers))
      def weight : besom.types.Output[scala.Option[Double]] = output.map(_.map(_.weight))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy