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

src.index.inputs.EndpointConfigurationMutualTlArgs.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 EndpointConfigurationMutualTlArgs private(
  certificateAuthorities: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationMutualTlCertificateAuthorityArgs]]],
  enabled: besom.types.Output[scala.Option[Boolean]]
)

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy