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