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

src.index.inputs.EndpointConfigurationWebhookValidationArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok.inputs

final case class EndpointConfigurationWebhookValidationArgs private(
  enabled: besom.types.Output[scala.Option[Boolean]],
  provider: besom.types.Output[scala.Option[String]],
  secret: besom.types.Output[scala.Option[String]]
)

object EndpointConfigurationWebhookValidationArgs:
  def apply(
    enabled: besom.types.Input.Optional[Boolean] = scala.None,
    provider: besom.types.Input.Optional[String] = scala.None,
    secret: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): EndpointConfigurationWebhookValidationArgs =
    new EndpointConfigurationWebhookValidationArgs(
      enabled = enabled.asOptionOutput(isSecret = false),
      provider = provider.asOptionOutput(isSecret = false),
      secret = secret.asOptionOutput(isSecret = true)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationWebhookValidationArgs] =
    besom.internal.Encoder.derived[EndpointConfigurationWebhookValidationArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationWebhookValidationArgs] =
    besom.internal.ArgsEncoder.derived[EndpointConfigurationWebhookValidationArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy