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