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