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