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

src.index.inputs.EndpointConfigurationBackendArgs.scala Maven / Gradle / Ivy

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

final case class EndpointConfigurationBackendArgs private(
  backends: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationBackendBackendArgs]]],
  enabled: besom.types.Output[scala.Option[Boolean]]
)

object EndpointConfigurationBackendArgs:
  def apply(
    backends: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationBackendBackendArgs]]] = scala.None,
    enabled: besom.types.Input.Optional[Boolean] = scala.None
  )(using besom.types.Context): EndpointConfigurationBackendArgs =
    new EndpointConfigurationBackendArgs(
      backends = backends.asOptionOutput(isSecret = false),
      enabled = enabled.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationBackendArgs] =
    besom.internal.Encoder.derived[EndpointConfigurationBackendArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationBackendArgs] =
    besom.internal.ArgsEncoder.derived[EndpointConfigurationBackendArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy