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