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