
src.sourcerepo.v1.RepoArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.sourcerepo.v1
final case class RepoArgs private(
mirrorConfig: besom.types.Output[scala.Option[besom.api.googlenative.sourcerepo.v1.inputs.MirrorConfigArgs]],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
pubsubConfigs: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
size: besom.types.Output[scala.Option[String]],
url: besom.types.Output[scala.Option[String]]
)
object RepoArgs:
def apply(
mirrorConfig: besom.types.Input.Optional[besom.api.googlenative.sourcerepo.v1.inputs.MirrorConfigArgs] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
pubsubConfigs: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
size: besom.types.Input.Optional[String] = scala.None,
url: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): RepoArgs =
new RepoArgs(
mirrorConfig = mirrorConfig.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
pubsubConfigs = pubsubConfigs.asOptionOutput(isSecret = false),
size = size.asOptionOutput(isSecret = false),
url = url.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[RepoArgs] =
besom.internal.Encoder.derived[RepoArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[RepoArgs] =
besom.internal.ArgsEncoder.derived[RepoArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy