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

src.dialogflow.v2.GetIntentResult.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.dialogflow.v2


final case class GetIntentResult private(
  action: String,
  defaultResponsePlatforms: scala.collection.immutable.List[String],
  displayName: String,
  endInteraction: Boolean,
  events: scala.collection.immutable.List[String],
  followupIntentInfo: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse],
  inputContextNames: scala.collection.immutable.List[String],
  isFallback: Boolean,
  liveAgentHandoff: Boolean,
  messages: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentMessageResponse],
  mlDisabled: Boolean,
  name: String,
  outputContexts: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2ContextResponse],
  parameters: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentParameterResponse],
  parentFollowupIntentName: String,
  priority: Int,
  resetContexts: Boolean,
  rootFollowupIntentName: String,
  trainingPhrases: scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentTrainingPhraseResponse],
  webhookState: String
)
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 action : besom.types.Output[String] = output.map(_.action)
      def defaultResponsePlatforms : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.defaultResponsePlatforms)
      def displayName : besom.types.Output[String] = output.map(_.displayName)
      def endInteraction : besom.types.Output[Boolean] = output.map(_.endInteraction)
      def events : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.events)
      def followupIntentInfo : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse]] = output.map(_.followupIntentInfo)
      def inputContextNames : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.inputContextNames)
      def isFallback : besom.types.Output[Boolean] = output.map(_.isFallback)
      def liveAgentHandoff : besom.types.Output[Boolean] = output.map(_.liveAgentHandoff)
      def messages : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentMessageResponse]] = output.map(_.messages)
      def mlDisabled : besom.types.Output[Boolean] = output.map(_.mlDisabled)
      def name : besom.types.Output[String] = output.map(_.name)
      def outputContexts : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2ContextResponse]] = output.map(_.outputContexts)
      def parameters : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentParameterResponse]] = output.map(_.parameters)
      def parentFollowupIntentName : besom.types.Output[String] = output.map(_.parentFollowupIntentName)
      def priority : besom.types.Output[Int] = output.map(_.priority)
      def resetContexts : besom.types.Output[Boolean] = output.map(_.resetContexts)
      def rootFollowupIntentName : besom.types.Output[String] = output.map(_.rootFollowupIntentName)
      def trainingPhrases : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentTrainingPhraseResponse]] = output.map(_.trainingPhrases)
      def webhookState : besom.types.Output[String] = output.map(_.webhookState)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetIntentResult]])
      def action : besom.types.Output[scala.Option[String]] = output.map(_.map(_.action))
      def defaultResponsePlatforms : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.defaultResponsePlatforms))
      def displayName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.displayName))
      def endInteraction : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.endInteraction))
      def events : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.events))
      def followupIntentInfo : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse]]] = output.map(_.map(_.followupIntentInfo))
      def inputContextNames : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.inputContextNames))
      def isFallback : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.isFallback))
      def liveAgentHandoff : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.liveAgentHandoff))
      def messages : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentMessageResponse]]] = output.map(_.map(_.messages))
      def mlDisabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.mlDisabled))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def outputContexts : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2ContextResponse]]] = output.map(_.map(_.outputContexts))
      def parameters : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentParameterResponse]]] = output.map(_.map(_.parameters))
      def parentFollowupIntentName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.parentFollowupIntentName))
      def priority : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.priority))
      def resetContexts : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.resetContexts))
      def rootFollowupIntentName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.rootFollowupIntentName))
      def trainingPhrases : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v2.outputs.GoogleCloudDialogflowV2IntentTrainingPhraseResponse]]] = output.map(_.map(_.trainingPhrases))
      def webhookState : besom.types.Output[scala.Option[String]] = output.map(_.map(_.webhookState))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy