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]