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