All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.EdgeWorkersActivationArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class EdgeWorkersActivationArgs private(
  edgeworkerId: besom.types.Output[Int],
  network: besom.types.Output[String],
  note: besom.types.Output[scala.Option[String]],
  timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.EdgeWorkersActivationTimeoutsArgs]],
  version: besom.types.Output[String]
)

object EdgeWorkersActivationArgs:
  def apply(
    edgeworkerId: besom.types.Input[Int],
    network: besom.types.Input[String],
    note: besom.types.Input.Optional[String] = scala.None,
    timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.EdgeWorkersActivationTimeoutsArgs] = scala.None,
    version: besom.types.Input[String]
  )(using besom.types.Context): EdgeWorkersActivationArgs =
    new EdgeWorkersActivationArgs(
      edgeworkerId = edgeworkerId.asOutput(isSecret = false),
      network = network.asOutput(isSecret = false),
      note = note.asOptionOutput(isSecret = false),
      timeouts = timeouts.asOptionOutput(isSecret = false),
      version = version.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[EdgeWorkersActivationArgs] =
    besom.internal.Encoder.derived[EdgeWorkersActivationArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EdgeWorkersActivationArgs] =
    besom.internal.ArgsEncoder.derived[EdgeWorkersActivationArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy