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