
src.dialogflow.v3beta1.IntentArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dialogflow.v3beta1
final case class IntentArgs private(
agentId: besom.types.Output[String],
description: besom.types.Output[scala.Option[String]],
displayName: besom.types.Output[String],
isFallback: besom.types.Output[scala.Option[Boolean]],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
languageCode: besom.types.Output[scala.Option[String]],
location: besom.types.Output[scala.Option[String]],
name: besom.types.Output[scala.Option[String]],
parameters: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1IntentParameterArgs]]],
priority: besom.types.Output[scala.Option[Int]],
project: besom.types.Output[scala.Option[String]],
trainingPhrases: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs]]]
)
object IntentArgs:
def apply(
agentId: besom.types.Input[String],
description: besom.types.Input.Optional[String] = scala.None,
displayName: besom.types.Input[String],
isFallback: besom.types.Input.Optional[Boolean] = scala.None,
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
languageCode: besom.types.Input.Optional[String] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
parameters: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1IntentParameterArgs]]] = scala.None,
priority: besom.types.Input.Optional[Int] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
trainingPhrases: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs]]] = scala.None
)(using besom.types.Context): IntentArgs =
new IntentArgs(
agentId = agentId.asOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
displayName = displayName.asOutput(isSecret = false),
isFallback = isFallback.asOptionOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
languageCode = languageCode.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
parameters = parameters.asOptionOutput(isSecret = false),
priority = priority.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
trainingPhrases = trainingPhrases.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[IntentArgs] =
besom.internal.Encoder.derived[IntentArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[IntentArgs] =
besom.internal.ArgsEncoder.derived[IntentArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy