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