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