src.index.outputs.EndpointConfigurationBackend.scala Maven / Gradle / Ivy
package besom.api.ngrok.outputs
final case class EndpointConfigurationBackend private(
backends: scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBackendBackend]],
enabled: scala.Option[Boolean]
)
object EndpointConfigurationBackend :
given decoder(using besom.types.Context): besom.types.Decoder[EndpointConfigurationBackend] =
besom.internal.Decoder.derived[EndpointConfigurationBackend]
given outputOps: {} with
extension(output: besom.types.Output[EndpointConfigurationBackend])
def backends : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBackendBackend]]] = output.map(_.backends)
def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[EndpointConfigurationBackend]])
def backends : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBackendBackend]]] = output.map(_.flatMap(_.backends))
def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
© 2015 - 2024 Weber Informatics LLC | Privacy Policy