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

src.dialogflow.v3.GetIntentResult.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 GetIntentResult private(
  description: String,
  displayName: String,
  isFallback: Boolean,
  labels: scala.Predef.Map[String, String],
  name: String,
  parameters: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentParameterResponse],
  priority: Int,
  trainingPhrases: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse]
)
object GetIntentResult :

  given decoder(using besom.types.Context): besom.types.Decoder[GetIntentResult] =
    besom.internal.Decoder.derived[GetIntentResult]



  given outputOps: {} with
    extension(output: besom.types.Output[GetIntentResult])
      def description : besom.types.Output[String] = output.map(_.description)
      def displayName : besom.types.Output[String] = output.map(_.displayName)
      def isFallback : besom.types.Output[Boolean] = output.map(_.isFallback)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.map(_.labels)
      def name : besom.types.Output[String] = output.map(_.name)
      def parameters : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentParameterResponse]] = output.map(_.parameters)
      def priority : besom.types.Output[Int] = output.map(_.priority)
      def trainingPhrases : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse]] = output.map(_.trainingPhrases)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetIntentResult]])
      def description : besom.types.Output[scala.Option[String]] = output.map(_.map(_.description))
      def displayName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.displayName))
      def isFallback : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.isFallback))
      def labels : besom.types.Output[scala.Option[scala.Predef.Map[String, String]]] = output.map(_.map(_.labels))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def parameters : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentParameterResponse]]] = output.map(_.map(_.parameters))
      def priority : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.priority))
      def trainingPhrases : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse]]] = output.map(_.map(_.trainingPhrases))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy