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