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