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

src.index.outputs.EventSubscriptionSource.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok.outputs


final case class EventSubscriptionSource private(
  fields: scala.Option[scala.collection.immutable.List[String]],
  filter: scala.Option[String],
  `type`: scala.Option[String],
  uri: scala.Option[String]
)
object EventSubscriptionSource :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EventSubscriptionSource])
      def fields : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.fields)
      def filter : besom.types.Output[scala.Option[String]] = output.map(_.filter)
      def `type` : besom.types.Output[scala.Option[String]] = output.map(_.`type`)
      def uri : besom.types.Output[scala.Option[String]] = output.map(_.uri)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EventSubscriptionSource]])
      def fields : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.fields))
      def filter : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.filter))
      def `type` : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.`type`))
      def uri : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.uri))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy