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

src.runtimeconfig.v1beta1.ConfigArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.runtimeconfig.v1beta1

final case class ConfigArgs private(
  description: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]]
)

object ConfigArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): ConfigArgs =
    new ConfigArgs(
      description = description.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy