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

src.index.outputs.EndpointConfigurationResponseHeader.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 EndpointConfigurationResponseHeader private(
  add: scala.Option[scala.Predef.Map[String, String]],
  enabled: scala.Option[Boolean],
  removes: scala.Option[scala.collection.immutable.List[String]]
)
object EndpointConfigurationResponseHeader :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationResponseHeader])
      def add : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.add)
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
      def removes : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.removes)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationResponseHeader]])
      def add : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.flatMap(_.add))
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
      def removes : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.removes))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy