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