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

src.index.inputs.EndpointConfigurationOauthProviderMicrosoftArgs.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 EndpointConfigurationOauthProviderMicrosoftArgs private(
  clientId: besom.types.Output[scala.Option[String]],
  clientSecret: besom.types.Output[scala.Option[String]],
  emailAddresses: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  emailDomains: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  scopes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)

object EndpointConfigurationOauthProviderMicrosoftArgs:
  def apply(
    clientId: besom.types.Input.Optional[String] = scala.None,
    clientSecret: besom.types.Input.Optional[String] = scala.None,
    emailAddresses: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    emailDomains: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    scopes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
  )(using besom.types.Context): EndpointConfigurationOauthProviderMicrosoftArgs =
    new EndpointConfigurationOauthProviderMicrosoftArgs(
      clientId = clientId.asOptionOutput(isSecret = false),
      clientSecret = clientSecret.asOptionOutput(isSecret = true),
      emailAddresses = emailAddresses.asOptionOutput(isSecret = false),
      emailDomains = emailDomains.asOptionOutput(isSecret = false),
      scopes = scopes.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy