
src.dialogflow.v3beta1.WebhookArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dialogflow.v3beta1
final case class WebhookArgs private(
agentId: besom.types.Output[String],
disabled: besom.types.Output[scala.Option[Boolean]],
displayName: besom.types.Output[String],
genericWebService: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs]],
location: besom.types.Output[scala.Option[String]],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
serviceDirectory: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs]],
timeout: besom.types.Output[scala.Option[String]]
)
object WebhookArgs:
def apply(
agentId: besom.types.Input[String],
disabled: besom.types.Input.Optional[Boolean] = scala.None,
displayName: besom.types.Input[String],
genericWebService: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
serviceDirectory: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs] = scala.None,
timeout: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): WebhookArgs =
new WebhookArgs(
agentId = agentId.asOutput(isSecret = false),
disabled = disabled.asOptionOutput(isSecret = false),
displayName = displayName.asOutput(isSecret = false),
genericWebService = genericWebService.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
serviceDirectory = serviceDirectory.asOptionOutput(isSecret = false),
timeout = timeout.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[WebhookArgs] =
besom.internal.Encoder.derived[WebhookArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[WebhookArgs] =
besom.internal.ArgsEncoder.derived[WebhookArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy