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

src.index.IpRestrictionArgs.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 IpRestrictionArgs private(
  description: besom.types.Output[scala.Option[String]],
  enforced: besom.types.Output[scala.Option[Boolean]],
  ipPolicyIds: besom.types.Output[scala.collection.immutable.List[String]],
  metadata: besom.types.Output[scala.Option[String]],
  `type`: besom.types.Output[String]
)

object IpRestrictionArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    enforced: besom.types.Input.Optional[Boolean] = scala.None,
    ipPolicyIds: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
    metadata: besom.types.Input.Optional[String] = scala.None,
    `type`: besom.types.Input[String]
  )(using besom.types.Context): IpRestrictionArgs =
    new IpRestrictionArgs(
      description = description.asOptionOutput(isSecret = false),
      enforced = enforced.asOptionOutput(isSecret = false),
      ipPolicyIds = ipPolicyIds.asOutput(isSecret = false),
      metadata = metadata.asOptionOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy