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

src.index.outputs.EndpointConfigurationWebhookValidation.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 EndpointConfigurationWebhookValidation private(
  enabled: scala.Option[Boolean],
  provider: scala.Option[String],
  secret: scala.Option[String]
)
object EndpointConfigurationWebhookValidation :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationWebhookValidation])
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
      def provider : besom.types.Output[scala.Option[String]] = output.map(_.provider)
      def secret : besom.types.Output[scala.Option[String]] = output.map(_.secret)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationWebhookValidation]])
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
      def provider : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.provider))
      def secret : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.secret))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy