src.index.outputs.GtmGeomapAssignment.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class GtmGeomapAssignment private(
countries: scala.Option[scala.collection.immutable.List[String]],
datacenterId: Int,
nickname: String
)
object GtmGeomapAssignment :
given decoder(using besom.types.Context): besom.types.Decoder[GtmGeomapAssignment] =
besom.internal.Decoder.derived[GtmGeomapAssignment]
given outputOps: {} with
extension(output: besom.types.Output[GtmGeomapAssignment])
def countries : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.countries)
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[GtmGeomapAssignment]])
def countries : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.countries))
def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.datacenterId))
def nickname : besom.types.Output[scala.Option[String]] = output.map(_.map(_.nickname))