src.index.inputs.GtmCidrmapAssignmentArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GtmCidrmapAssignmentArgs private(
blocks: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
datacenterId: besom.types.Output[Int],
nickname: besom.types.Output[String]
)
object GtmCidrmapAssignmentArgs:
def apply(
blocks: 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): GtmCidrmapAssignmentArgs =
new GtmCidrmapAssignmentArgs(
blocks = blocks.asOptionOutput(isSecret = false),
datacenterId = datacenterId.asOutput(isSecret = false),
nickname = nickname.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GtmCidrmapAssignmentArgs] =
besom.internal.Encoder.derived[GtmCidrmapAssignmentArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GtmCidrmapAssignmentArgs] =
besom.internal.ArgsEncoder.derived[GtmCidrmapAssignmentArgs]