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