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

src.dialogflow.v3.GetVersionArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.dialogflow.v3

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy