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

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

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy