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