src.index.inputs.EndpointConfigurationOauthProviderGithubArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok.inputs
final case class EndpointConfigurationOauthProviderGithubArgs 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]]],
organizations: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
scopes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
teams: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)
object EndpointConfigurationOauthProviderGithubArgs:
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,
organizations: 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,
teams: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
)(using besom.types.Context): EndpointConfigurationOauthProviderGithubArgs =
new EndpointConfigurationOauthProviderGithubArgs(
clientId = clientId.asOptionOutput(isSecret = false),
clientSecret = clientSecret.asOptionOutput(isSecret = true),
emailAddresses = emailAddresses.asOptionOutput(isSecret = false),
emailDomains = emailDomains.asOptionOutput(isSecret = false),
organizations = organizations.asOptionOutput(isSecret = false),
scopes = scopes.asOptionOutput(isSecret = false),
teams = teams.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationOauthProviderGithubArgs] =
besom.internal.Encoder.derived[EndpointConfigurationOauthProviderGithubArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationOauthProviderGithubArgs] =
besom.internal.ArgsEncoder.derived[EndpointConfigurationOauthProviderGithubArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy