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