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