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

src.index.outputs.EndpointConfigurationLogging.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 EndpointConfigurationLogging private(
  enabled: scala.Option[Boolean],
  eventStreams: scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationLoggingEventStream]]
)
object EndpointConfigurationLogging :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationLogging])
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
      def eventStreams : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationLoggingEventStream]]] = output.map(_.eventStreams)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationLogging]])
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
      def eventStreams : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationLoggingEventStream]]] = output.map(_.flatMap(_.eventStreams))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy