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