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