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

src.dialogflow.v3.GetPageArgs.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 GetPageArgs private(
  agentId: besom.types.Output[String],
  flowId: besom.types.Output[String],
  languageCode: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[String],
  pageId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]]
)

object GetPageArgs:
  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],
    pageId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetPageArgs =
    new GetPageArgs(
      agentId = agentId.asOutput(isSecret = false),
      flowId = flowId.asOutput(isSecret = false),
      languageCode = languageCode.asOptionOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      pageId = pageId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy