src.index.inputs.EndpointConfigurationOauthArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok.inputs
final case class EndpointConfigurationOauthArgs private(
authCheckInterval: besom.types.Output[scala.Option[Int]],
cookiePrefix: besom.types.Output[scala.Option[String]],
enabled: besom.types.Output[scala.Option[Boolean]],
inactivityTimeout: besom.types.Output[scala.Option[Int]],
maximumDuration: besom.types.Output[scala.Option[Int]],
optionsPassthrough: besom.types.Output[scala.Option[Boolean]],
providers: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationOauthProviderArgs]]]
)
object EndpointConfigurationOauthArgs:
def apply(
authCheckInterval: besom.types.Input.Optional[Int] = scala.None,
cookiePrefix: besom.types.Input.Optional[String] = scala.None,
enabled: besom.types.Input.Optional[Boolean] = scala.None,
inactivityTimeout: besom.types.Input.Optional[Int] = scala.None,
maximumDuration: besom.types.Input.Optional[Int] = scala.None,
optionsPassthrough: besom.types.Input.Optional[Boolean] = scala.None,
providers: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationOauthProviderArgs]]] = scala.None
)(using besom.types.Context): EndpointConfigurationOauthArgs =
new EndpointConfigurationOauthArgs(
authCheckInterval = authCheckInterval.asOptionOutput(isSecret = false),
cookiePrefix = cookiePrefix.asOptionOutput(isSecret = false),
enabled = enabled.asOptionOutput(isSecret = false),
inactivityTimeout = inactivityTimeout.asOptionOutput(isSecret = false),
maximumDuration = maximumDuration.asOptionOutput(isSecret = false),
optionsPassthrough = optionsPassthrough.asOptionOutput(isSecret = false),
providers = providers.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationOauthArgs] =
besom.internal.Encoder.derived[EndpointConfigurationOauthArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationOauthArgs] =
besom.internal.ArgsEncoder.derived[EndpointConfigurationOauthArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy