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

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

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.dialogflow.v3

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy