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

src.apigeeregistry.v1.GetArtifactArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.apigeeregistry.v1

final case class GetArtifactArgs private(
  apiId: besom.types.Output[String],
  artifactId: besom.types.Output[String],
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  specId: besom.types.Output[String],
  versionId: besom.types.Output[String]
)

object GetArtifactArgs:
  def apply(
    apiId: besom.types.Input[String],
    artifactId: besom.types.Input[String],
    location: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    specId: besom.types.Input[String],
    versionId: besom.types.Input[String]
  )(using besom.types.Context): GetArtifactArgs =
    new GetArtifactArgs(
      apiId = apiId.asOutput(isSecret = false),
      artifactId = artifactId.asOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      specId = specId.asOutput(isSecret = false),
      versionId = versionId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy