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

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

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy