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

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

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


final case class GtmCidrmapAssignment private(
  blocks: scala.Option[scala.collection.immutable.List[String]],
  datacenterId: Int,
  nickname: String
)
object GtmCidrmapAssignment :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GtmCidrmapAssignment])
      def blocks : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.blocks)
      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[GtmCidrmapAssignment]])
      def blocks : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.blocks))
      def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.datacenterId))
      def nickname : besom.types.Output[scala.Option[String]] = output.map(_.map(_.nickname))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy