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

src.datalabeling.v1beta1.GetFeedbackMessageArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.datalabeling.v1beta1

final case class GetFeedbackMessageArgs private(
  annotatedDatasetId: besom.types.Output[String],
  datasetId: besom.types.Output[String],
  feedbackMessageId: besom.types.Output[String],
  feedbackThreadId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]]
)

object GetFeedbackMessageArgs:
  def apply(
    annotatedDatasetId: besom.types.Input[String],
    datasetId: besom.types.Input[String],
    feedbackMessageId: besom.types.Input[String],
    feedbackThreadId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetFeedbackMessageArgs =
    new GetFeedbackMessageArgs(
      annotatedDatasetId = annotatedDatasetId.asOutput(isSecret = false),
      datasetId = datasetId.asOutput(isSecret = false),
      feedbackMessageId = feedbackMessageId.asOutput(isSecret = false),
      feedbackThreadId = feedbackThreadId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy