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