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