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