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