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

src.dialogflow.v3beta1.GetTestCaseArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.dialogflow.v3beta1

final case class GetTestCaseArgs private(
  agentId: besom.types.Output[String],
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  testCaseId: besom.types.Output[String]
)

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy