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