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

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

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


final case class GetGtmDomainDatacenter private(
  city: String,
  cloneOf: Int,
  cloudServerHostHeaderOverride: Boolean,
  cloudServerTargeting: Boolean,
  continent: String,
  country: String,
  datacenterId: Int,
  defaultLoadObjects: scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGtmDomainDatacenterDefaultLoadObject]],
  latitude: Double,
  links: scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGtmDomainDatacenterLink]],
  longitude: Double,
  nickname: String,
  scorePenalty: Int,
  serverMonitorPool: String,
  stateOrProvince: String,
  virtual: Boolean
)
object GetGtmDomainDatacenter :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetGtmDomainDatacenter])
      def city : besom.types.Output[String] = output.map(_.city)
      def cloneOf : besom.types.Output[Int] = output.map(_.cloneOf)
      def cloudServerHostHeaderOverride : besom.types.Output[Boolean] = output.map(_.cloudServerHostHeaderOverride)
      def cloudServerTargeting : besom.types.Output[Boolean] = output.map(_.cloudServerTargeting)
      def continent : besom.types.Output[String] = output.map(_.continent)
      def country : besom.types.Output[String] = output.map(_.country)
      def datacenterId : besom.types.Output[Int] = output.map(_.datacenterId)
      def defaultLoadObjects : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGtmDomainDatacenterDefaultLoadObject]]] = output.map(_.defaultLoadObjects)
      def latitude : besom.types.Output[Double] = output.map(_.latitude)
      def links : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGtmDomainDatacenterLink]]] = output.map(_.links)
      def longitude : besom.types.Output[Double] = output.map(_.longitude)
      def nickname : besom.types.Output[String] = output.map(_.nickname)
      def scorePenalty : besom.types.Output[Int] = output.map(_.scorePenalty)
      def serverMonitorPool : besom.types.Output[String] = output.map(_.serverMonitorPool)
      def stateOrProvince : besom.types.Output[String] = output.map(_.stateOrProvince)
      def virtual : besom.types.Output[Boolean] = output.map(_.virtual)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetGtmDomainDatacenter]])
      def city : besom.types.Output[scala.Option[String]] = output.map(_.map(_.city))
      def cloneOf : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.cloneOf))
      def cloudServerHostHeaderOverride : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.cloudServerHostHeaderOverride))
      def cloudServerTargeting : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.cloudServerTargeting))
      def continent : besom.types.Output[scala.Option[String]] = output.map(_.map(_.continent))
      def country : besom.types.Output[scala.Option[String]] = output.map(_.map(_.country))
      def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.datacenterId))
      def defaultLoadObjects : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGtmDomainDatacenterDefaultLoadObject]]] = output.map(_.flatMap(_.defaultLoadObjects))
      def latitude : besom.types.Output[scala.Option[Double]] = output.map(_.map(_.latitude))
      def links : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetGtmDomainDatacenterLink]]] = output.map(_.flatMap(_.links))
      def longitude : besom.types.Output[scala.Option[Double]] = output.map(_.map(_.longitude))
      def nickname : besom.types.Output[scala.Option[String]] = output.map(_.map(_.nickname))
      def scorePenalty : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.scorePenalty))
      def serverMonitorPool : besom.types.Output[scala.Option[String]] = output.map(_.map(_.serverMonitorPool))
      def stateOrProvince : besom.types.Output[scala.Option[String]] = output.map(_.map(_.stateOrProvince))
      def virtual : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.virtual))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy