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

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

The newest version!
package besom.api.akamai

final case class AppSecMalwarePolicyActionArgs private(
  action: besom.types.Output[String],
  configId: besom.types.Output[Int],
  malwarePolicyId: besom.types.Output[Int],
  securityPolicyId: besom.types.Output[String],
  unscannedAction: besom.types.Output[String]
)

object AppSecMalwarePolicyActionArgs:
  def apply(
    action: besom.types.Input[String],
    configId: besom.types.Input[Int],
    malwarePolicyId: besom.types.Input[Int],
    securityPolicyId: besom.types.Input[String],
    unscannedAction: besom.types.Input[String]
  )(using besom.types.Context): AppSecMalwarePolicyActionArgs =
    new AppSecMalwarePolicyActionArgs(
      action = action.asOutput(isSecret = false),
      configId = configId.asOutput(isSecret = false),
      malwarePolicyId = malwarePolicyId.asOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false),
      unscannedAction = unscannedAction.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy