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

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

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


final case class GetEnvironmentResult private(
  agentVersion: String,
  description: String,
  fulfillment: besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1FulfillmentResponse,
  name: String,
  state: String,
  textToSpeechSettings: besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse,
  updateTime: String
)
object GetEnvironmentResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetEnvironmentResult])
      def agentVersion : besom.types.Output[String] = output.map(_.agentVersion)
      def description : besom.types.Output[String] = output.map(_.description)
      def fulfillment : besom.types.Output[besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1FulfillmentResponse] = output.map(_.fulfillment)
      def name : besom.types.Output[String] = output.map(_.name)
      def state : besom.types.Output[String] = output.map(_.state)
      def textToSpeechSettings : besom.types.Output[besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse] = output.map(_.textToSpeechSettings)
      def updateTime : besom.types.Output[String] = output.map(_.updateTime)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetEnvironmentResult]])
      def agentVersion : besom.types.Output[scala.Option[String]] = output.map(_.map(_.agentVersion))
      def description : besom.types.Output[scala.Option[String]] = output.map(_.map(_.description))
      def fulfillment : besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1FulfillmentResponse]] = output.map(_.map(_.fulfillment))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def state : besom.types.Output[scala.Option[String]] = output.map(_.map(_.state))
      def textToSpeechSettings : besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse]] = output.map(_.map(_.textToSpeechSettings))
      def updateTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.updateTime))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy