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

src.index.IpPolicyArgs.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 IpPolicyArgs private(
  action: besom.types.Output[scala.Option[String]],
  description: besom.types.Output[scala.Option[String]],
  metadata: besom.types.Output[scala.Option[String]]
)

object IpPolicyArgs:
  def apply(
    action: besom.types.Input.Optional[String] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    metadata: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): IpPolicyArgs =
    new IpPolicyArgs(
      action = action.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      metadata = metadata.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy