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