src.index.GetGtmCidrmapArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetGtmCidrmapArgs private(
assignments: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmCidrmapAssignmentArgs]]],
defaultDatacenter: besom.types.Output[scala.Option[besom.api.akamai.inputs.GetGtmCidrmapDefaultDatacenterArgs]],
domain: besom.types.Output[String],
links: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmCidrmapLinkArgs]]],
mapName: besom.types.Output[String]
)
object GetGtmCidrmapArgs:
def apply(
assignments: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmCidrmapAssignmentArgs]]] = scala.None,
defaultDatacenter: besom.types.Input.Optional[besom.api.akamai.inputs.GetGtmCidrmapDefaultDatacenterArgs] = scala.None,
domain: besom.types.Input[String],
links: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmCidrmapLinkArgs]]] = scala.None,
mapName: besom.types.Input[String]
)(using besom.types.Context): GetGtmCidrmapArgs =
new GetGtmCidrmapArgs(
assignments = assignments.asOptionOutput(isSecret = false),
defaultDatacenter = defaultDatacenter.asOptionOutput(isSecret = false),
domain = domain.asOutput(isSecret = false),
links = links.asOptionOutput(isSecret = false),
mapName = mapName.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetGtmCidrmapArgs] =
besom.internal.Encoder.derived[GetGtmCidrmapArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmCidrmapArgs] =
besom.internal.ArgsEncoder.derived[GetGtmCidrmapArgs]