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