All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.AppSecApiConstraintsProtectionArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class AppSecApiConstraintsProtectionArgs private(
  configId: besom.types.Output[Int],
  enabled: besom.types.Output[Boolean],
  securityPolicyId: besom.types.Output[String]
)

object AppSecApiConstraintsProtectionArgs:
  def apply(
    configId: besom.types.Input[Int],
    enabled: besom.types.Input[Boolean],
    securityPolicyId: besom.types.Input[String]
  )(using besom.types.Context): AppSecApiConstraintsProtectionArgs =
    new AppSecApiConstraintsProtectionArgs(
      configId = configId.asOutput(isSecret = false),
      enabled = enabled.asOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[AppSecApiConstraintsProtectionArgs] =
    besom.internal.Encoder.derived[AppSecApiConstraintsProtectionArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecApiConstraintsProtectionArgs] =
    besom.internal.ArgsEncoder.derived[AppSecApiConstraintsProtectionArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy