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

src.sourcerepo.v1.GetRepoArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.sourcerepo.v1

final case class GetRepoArgs private(
  project: besom.types.Output[scala.Option[String]],
  repoId: besom.types.Output[String]
)

object GetRepoArgs:
  def apply(
    project: besom.types.Input.Optional[String] = scala.None,
    repoId: besom.types.Input[String]
  )(using besom.types.Context): GetRepoArgs =
    new GetRepoArgs(
      project = project.asOptionOutput(isSecret = false),
      repoId = repoId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy