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