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

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

The newest version!
package besom.api.akamai

final case class AppSecRuleUpgradeArgs private(
  configId: besom.types.Output[Int],
  securityPolicyId: besom.types.Output[String],
  upgradeMode: besom.types.Output[scala.Option[String]]
)

object AppSecRuleUpgradeArgs:
  def apply(
    configId: besom.types.Input[Int],
    securityPolicyId: besom.types.Input[String],
    upgradeMode: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): AppSecRuleUpgradeArgs =
    new AppSecRuleUpgradeArgs(
      configId = configId.asOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false),
      upgradeMode = upgradeMode.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy