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

src.containeranalysis.v1.GetNoteArgs.scala Maven / Gradle / Ivy

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

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy