src.index.AppSecActivationsArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecActivationsArgs private(
configId: besom.types.Output[Int],
network: besom.types.Output[scala.Option[String]],
note: besom.types.Output[scala.Option[String]],
notificationEmails: besom.types.Output[scala.collection.immutable.List[String]],
version: besom.types.Output[Int]
)
object AppSecActivationsArgs:
def apply(
configId: besom.types.Input[Int],
network: besom.types.Input.Optional[String] = scala.None,
note: besom.types.Input.Optional[String] = scala.None,
notificationEmails: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
version: besom.types.Input[Int]
)(using besom.types.Context): AppSecActivationsArgs =
new AppSecActivationsArgs(
configId = configId.asOutput(isSecret = false),
network = network.asOptionOutput(isSecret = false),
note = note.asOptionOutput(isSecret = false),
notificationEmails = notificationEmails.asOutput(isSecret = false),
version = version.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecActivationsArgs] =
besom.internal.Encoder.derived[AppSecActivationsArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecActivationsArgs] =
besom.internal.ArgsEncoder.derived[AppSecActivationsArgs]