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