src.index.GetGtmResourcesArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetGtmResourcesArgs private(
domain: besom.types.Output[String],
resources: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmResourcesResourceArgs]]]
)
object GetGtmResourcesArgs:
def apply(
domain: besom.types.Input[String],
resources: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmResourcesResourceArgs]]] = scala.None
)(using besom.types.Context): GetGtmResourcesArgs =
new GetGtmResourcesArgs(
domain = domain.asOutput(isSecret = false),
resources = resources.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetGtmResourcesArgs] =
besom.internal.Encoder.derived[GetGtmResourcesArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmResourcesArgs] =
besom.internal.ArgsEncoder.derived[GetGtmResourcesArgs]