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