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