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

src.dialogflow.v2beta1.GetConversationResult.scala Maven / Gradle / Ivy

package besom.api.googlenative.dialogflow.v2beta1


final case class GetConversationResult private(
  conversationProfile: String,
  conversationStage: String,
  endTime: String,
  lifecycleState: String,
  name: String,
  phoneNumber: besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse,
  startTime: String
)
object GetConversationResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetConversationResult])
      def conversationProfile : besom.types.Output[String] = output.map(_.conversationProfile)
      def conversationStage : besom.types.Output[String] = output.map(_.conversationStage)
      def endTime : besom.types.Output[String] = output.map(_.endTime)
      def lifecycleState : besom.types.Output[String] = output.map(_.lifecycleState)
      def name : besom.types.Output[String] = output.map(_.name)
      def phoneNumber : besom.types.Output[besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse] = output.map(_.phoneNumber)
      def startTime : besom.types.Output[String] = output.map(_.startTime)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetConversationResult]])
      def conversationProfile : besom.types.Output[scala.Option[String]] = output.map(_.map(_.conversationProfile))
      def conversationStage : besom.types.Output[scala.Option[String]] = output.map(_.map(_.conversationStage))
      def endTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.endTime))
      def lifecycleState : besom.types.Output[scala.Option[String]] = output.map(_.map(_.lifecycleState))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def phoneNumber : besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse]] = output.map(_.map(_.phoneNumber))
      def startTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.startTime))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy