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

src.index.inputs.EndpointConfigurationBasicAuthArgs.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 EndpointConfigurationBasicAuthArgs private(
  allowOptions: besom.types.Output[scala.Option[Boolean]],
  authProviderId: besom.types.Output[scala.Option[String]],
  enabled: besom.types.Output[scala.Option[Boolean]],
  realm: besom.types.Output[scala.Option[String]]
)

object EndpointConfigurationBasicAuthArgs:
  def apply(
    allowOptions: besom.types.Input.Optional[Boolean] = scala.None,
    authProviderId: besom.types.Input.Optional[String] = scala.None,
    enabled: besom.types.Input.Optional[Boolean] = scala.None,
    realm: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): EndpointConfigurationBasicAuthArgs =
    new EndpointConfigurationBasicAuthArgs(
      allowOptions = allowOptions.asOptionOutput(isSecret = false),
      authProviderId = authProviderId.asOptionOutput(isSecret = false),
      enabled = enabled.asOptionOutput(isSecret = false),
      realm = realm.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy