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

src.index.outputs.EndpointConfigurationBasicAuth.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 EndpointConfigurationBasicAuth private(
  allowOptions: scala.Option[Boolean],
  authProviderId: scala.Option[String],
  enabled: scala.Option[Boolean],
  realm: scala.Option[String]
)
object EndpointConfigurationBasicAuth :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationBasicAuth])
      def allowOptions : besom.types.Output[scala.Option[Boolean]] = output.map(_.allowOptions)
      def authProviderId : besom.types.Output[scala.Option[String]] = output.map(_.authProviderId)
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
      def realm : besom.types.Output[scala.Option[String]] = output.map(_.realm)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationBasicAuth]])
      def allowOptions : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.allowOptions))
      def authProviderId : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.authProviderId))
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
      def realm : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.realm))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy