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

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

The newest version!
package besom.api.akamai


final case class GetDatastreamsResult private(
  groupId: scala.Option[Int],
  id: String,
  streamsDetails: scala.collection.immutable.List[besom.api.akamai.outputs.GetDatastreamsStreamsDetail]
)
object GetDatastreamsResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetDatastreamsResult] =
    besom.internal.Decoder.derived[GetDatastreamsResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetDatastreamsResult])
      def groupId : besom.types.Output[scala.Option[Int]] = output.map(_.groupId)
      def id : besom.types.Output[String] = output.map(_.id)
      def streamsDetails : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetDatastreamsStreamsDetail]] = output.map(_.streamsDetails)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetDatastreamsResult]])
      def groupId : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.groupId))
      def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
      def streamsDetails : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetDatastreamsStreamsDetail]]] = output.map(_.map(_.streamsDetails))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy