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

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

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy