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