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

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

The newest version!
package besom.api.akamai

final case class GetEdgeWorkerArgs private(
  edgeworkerId: besom.types.Output[Int],
  localBundle: besom.types.Output[scala.Option[String]]
)

object GetEdgeWorkerArgs:
  def apply(
    edgeworkerId: besom.types.Input[Int],
    localBundle: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetEdgeWorkerArgs =
    new GetEdgeWorkerArgs(
      edgeworkerId = edgeworkerId.asOutput(isSecret = false),
      localBundle = localBundle.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy