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

src.index.EndpointConfigurationArgs.scala Maven / Gradle / Ivy

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

final case class EndpointConfigurationArgs private(
  backends: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationBackendArgs]]],
  basicAuths: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationBasicAuthArgs]]],
  circuitBreakers: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationCircuitBreakerArgs]]],
  compressions: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationCompressionArgs]]],
  description: besom.types.Output[scala.Option[String]],
  ipPolicies: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationIpPolicyArgs]]],
  loggings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationLoggingArgs]]],
  metadata: besom.types.Output[scala.Option[String]],
  mutualTls: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationMutualTlArgs]]],
  oauths: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationOauthArgs]]],
  oidcs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationOidcArgs]]],
  requestHeaders: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationRequestHeaderArgs]]],
  responseHeaders: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationResponseHeaderArgs]]],
  samls: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationSamlArgs]]],
  tlsTerminations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationTlsTerminationArgs]]],
  `type`: besom.types.Output[scala.Option[String]],
  webhookValidations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.EndpointConfigurationWebhookValidationArgs]]]
)

object EndpointConfigurationArgs:
  def apply(
    backends: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationBackendArgs]]] = scala.None,
    basicAuths: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationBasicAuthArgs]]] = scala.None,
    circuitBreakers: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationCircuitBreakerArgs]]] = scala.None,
    compressions: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationCompressionArgs]]] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    ipPolicies: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationIpPolicyArgs]]] = scala.None,
    loggings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationLoggingArgs]]] = scala.None,
    metadata: besom.types.Input.Optional[String] = scala.None,
    mutualTls: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationMutualTlArgs]]] = scala.None,
    oauths: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationOauthArgs]]] = scala.None,
    oidcs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationOidcArgs]]] = scala.None,
    requestHeaders: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationRequestHeaderArgs]]] = scala.None,
    responseHeaders: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationResponseHeaderArgs]]] = scala.None,
    samls: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationSamlArgs]]] = scala.None,
    tlsTerminations: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationTlsTerminationArgs]]] = scala.None,
    `type`: besom.types.Input.Optional[String] = scala.None,
    webhookValidations: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.EndpointConfigurationWebhookValidationArgs]]] = scala.None
  )(using besom.types.Context): EndpointConfigurationArgs =
    new EndpointConfigurationArgs(
      backends = backends.asOptionOutput(isSecret = false),
      basicAuths = basicAuths.asOptionOutput(isSecret = false),
      circuitBreakers = circuitBreakers.asOptionOutput(isSecret = false),
      compressions = compressions.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      ipPolicies = ipPolicies.asOptionOutput(isSecret = false),
      loggings = loggings.asOptionOutput(isSecret = false),
      metadata = metadata.asOptionOutput(isSecret = false),
      mutualTls = mutualTls.asOptionOutput(isSecret = false),
      oauths = oauths.asOptionOutput(isSecret = false),
      oidcs = oidcs.asOptionOutput(isSecret = false),
      requestHeaders = requestHeaders.asOptionOutput(isSecret = false),
      responseHeaders = responseHeaders.asOptionOutput(isSecret = false),
      samls = samls.asOptionOutput(isSecret = false),
      tlsTerminations = tlsTerminations.asOptionOutput(isSecret = false),
      `type` = `type`.asOptionOutput(isSecret = false),
      webhookValidations = webhookValidations.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy