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

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

package besom.api.googlenative.dialogflow.v3

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

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

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy