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