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