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