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