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

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

The newest version!
package besom.api.akamai

final case class GetAppSecRulesArgs private(
  configId: besom.types.Output[Int],
  ruleId: besom.types.Output[scala.Option[Int]],
  securityPolicyId: besom.types.Output[String]
)

object GetAppSecRulesArgs:
  def apply(
    configId: besom.types.Input[Int],
    ruleId: besom.types.Input.Optional[Int] = scala.None,
    securityPolicyId: besom.types.Input[String]
  )(using besom.types.Context): GetAppSecRulesArgs =
    new GetAppSecRulesArgs(
      configId = configId.asOutput(isSecret = false),
      ruleId = ruleId.asOptionOutput(isSecret = false),
      securityPolicyId = securityPolicyId.asOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy