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

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

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



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationRequestHeader])
      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[EndpointConfigurationRequestHeader]])
      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