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