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

src.index.outputs.EndpointConfigurationOauth.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 EndpointConfigurationOauth private(
  authCheckInterval: scala.Option[Int],
  cookiePrefix: scala.Option[String],
  enabled: scala.Option[Boolean],
  inactivityTimeout: scala.Option[Int],
  maximumDuration: scala.Option[Int],
  optionsPassthrough: scala.Option[Boolean],
  providers: scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOauthProvider]]
)
object EndpointConfigurationOauth :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationOauth])
      def authCheckInterval : besom.types.Output[scala.Option[Int]] = output.map(_.authCheckInterval)
      def cookiePrefix : besom.types.Output[scala.Option[String]] = output.map(_.cookiePrefix)
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
      def inactivityTimeout : besom.types.Output[scala.Option[Int]] = output.map(_.inactivityTimeout)
      def maximumDuration : besom.types.Output[scala.Option[Int]] = output.map(_.maximumDuration)
      def optionsPassthrough : besom.types.Output[scala.Option[Boolean]] = output.map(_.optionsPassthrough)
      def providers : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOauthProvider]]] = output.map(_.providers)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationOauth]])
      def authCheckInterval : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.authCheckInterval))
      def cookiePrefix : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.cookiePrefix))
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
      def inactivityTimeout : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.inactivityTimeout))
      def maximumDuration : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.maximumDuration))
      def optionsPassthrough : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.optionsPassthrough))
      def providers : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOauthProvider]]] = output.map(_.flatMap(_.providers))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy