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