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

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

The newest version!
package besom.api.akamai

final case class AppSecEvalRuleArgs private(
  conditionException: besom.types.Output[scala.Option[String]],
  configId: besom.types.Output[Int],
  ruleAction: besom.types.Output[String],
  ruleId: besom.types.Output[Int],
  securityPolicyId: besom.types.Output[String]
)

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy