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

src.index.outputs.EndpointConfigurationOauthProviderGoogle.scala Maven / Gradle / Ivy

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


final case class EndpointConfigurationOauthProviderGoogle private(
  clientId: scala.Option[String],
  clientSecret: scala.Option[String],
  emailAddresses: scala.Option[scala.collection.immutable.List[String]],
  emailDomains: scala.Option[scala.collection.immutable.List[String]],
  scopes: scala.Option[scala.collection.immutable.List[String]]
)
object EndpointConfigurationOauthProviderGoogle :

  given decoder(using besom.types.Context): besom.types.Decoder[EndpointConfigurationOauthProviderGoogle] =
    besom.internal.Decoder.derived[EndpointConfigurationOauthProviderGoogle]



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationOauthProviderGoogle])
      def clientId : besom.types.Output[scala.Option[String]] = output.map(_.clientId)
      def clientSecret : besom.types.Output[scala.Option[String]] = output.map(_.clientSecret)
      def emailAddresses : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.emailAddresses)
      def emailDomains : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.emailDomains)
      def scopes : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.scopes)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationOauthProviderGoogle]])
      def clientId : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.clientId))
      def clientSecret : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.clientSecret))
      def emailAddresses : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.emailAddresses))
      def emailDomains : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.emailDomains))
      def scopes : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.scopes))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy