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

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

The newest version!
package besom.api.akamai

final case class AppSecRatePolicyActionArgs private(
  configId: besom.types.Output[Int],
  ipv4Action: besom.types.Output[String],
  ipv6Action: besom.types.Output[String],
  ratePolicyId: besom.types.Output[Int],
  securityPolicyId: besom.types.Output[String]
)

object AppSecRatePolicyActionArgs:
  def apply(
    configId: besom.types.Input[Int],
    ipv4Action: besom.types.Input[String],
    ipv6Action: besom.types.Input[String],
    ratePolicyId: besom.types.Input[Int],
    securityPolicyId: besom.types.Input[String]
  )(using besom.types.Context): AppSecRatePolicyActionArgs =
    new AppSecRatePolicyActionArgs(
      configId = configId.asOutput(isSecret = false),
      ipv4Action = ipv4Action.asOutput(isSecret = false),
      ipv6Action = ipv6Action.asOutput(isSecret = false),
      ratePolicyId = ratePolicyId.asOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy