src.index.GetEdgeWorkerResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetEdgeWorkerResult private(
edgeworkerId: Int,
groupId: String,
id: String,
localBundle: scala.Option[String],
localBundleHash: String,
name: String,
resourceTierId: Int,
version: String,
warnings: scala.collection.immutable.List[String]
)
object GetEdgeWorkerResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetEdgeWorkerResult] =
besom.internal.Decoder.derived[GetEdgeWorkerResult]
given outputOps: {} with
extension(output: besom.types.Output[GetEdgeWorkerResult])
def edgeworkerId : besom.types.Output[Int] = output.map(_.edgeworkerId)
def groupId : besom.types.Output[String] = output.map(_.groupId)
def id : besom.types.Output[String] = output.map(_.id)
def localBundle : besom.types.Output[scala.Option[String]] = output.map(_.localBundle)
def localBundleHash : besom.types.Output[String] = output.map(_.localBundleHash)
def name : besom.types.Output[String] = output.map(_.name)
def resourceTierId : besom.types.Output[Int] = output.map(_.resourceTierId)
def version : besom.types.Output[String] = output.map(_.version)
def warnings : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.warnings)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetEdgeWorkerResult]])
def edgeworkerId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.edgeworkerId))
def groupId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.groupId))
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def localBundle : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.localBundle))
def localBundleHash : besom.types.Output[scala.Option[String]] = output.map(_.map(_.localBundleHash))
def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
def resourceTierId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.resourceTierId))
def version : besom.types.Output[scala.Option[String]] = output.map(_.map(_.version))
def warnings : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.warnings))