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

src.index.outputs.EventDestinationTargetKineseAuth.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 EventDestinationTargetKineseAuth private(
  creds: scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EventDestinationTargetKineseAuthCred]],
  roles: scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EventDestinationTargetKineseAuthRole]]
)
object EventDestinationTargetKineseAuth :

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



  given outputOps: {} with
    extension(output: besom.types.Output[EventDestinationTargetKineseAuth])
      def creds : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EventDestinationTargetKineseAuthCred]]] = output.map(_.creds)
      def roles : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EventDestinationTargetKineseAuthRole]]] = output.map(_.roles)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EventDestinationTargetKineseAuth]])
      def creds : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EventDestinationTargetKineseAuthCred]]] = output.map(_.flatMap(_.creds))
      def roles : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EventDestinationTargetKineseAuthRole]]] = output.map(_.flatMap(_.roles))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy