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