GoogleCloudDialogflowV2ConversationProfile.fromJson constructor

GoogleCloudDialogflowV2ConversationProfile.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2ConversationProfile.fromJson(core.Map json_)
  : this(
      automatedAgentConfig: json_.containsKey('automatedAgentConfig')
          ? GoogleCloudDialogflowV2AutomatedAgentConfig.fromJson(
              json_['automatedAgentConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      createTime: json_['createTime'] as core.String?,
      displayName: json_['displayName'] as core.String?,
      humanAgentAssistantConfig:
          json_.containsKey('humanAgentAssistantConfig')
          ? GoogleCloudDialogflowV2HumanAgentAssistantConfig.fromJson(
              json_['humanAgentAssistantConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      humanAgentHandoffConfig: json_.containsKey('humanAgentHandoffConfig')
          ? GoogleCloudDialogflowV2HumanAgentHandoffConfig.fromJson(
              json_['humanAgentHandoffConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      languageCode: json_['languageCode'] as core.String?,
      loggingConfig: json_.containsKey('loggingConfig')
          ? GoogleCloudDialogflowV2LoggingConfig.fromJson(
              json_['loggingConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      name: json_['name'] as core.String?,
      newMessageEventNotificationConfig:
          json_.containsKey('newMessageEventNotificationConfig')
          ? GoogleCloudDialogflowV2NotificationConfig.fromJson(
              json_['newMessageEventNotificationConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      newRecognitionResultNotificationConfig:
          json_.containsKey('newRecognitionResultNotificationConfig')
          ? GoogleCloudDialogflowV2NotificationConfig.fromJson(
              json_['newRecognitionResultNotificationConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      notificationConfig: json_.containsKey('notificationConfig')
          ? GoogleCloudDialogflowV2NotificationConfig.fromJson(
              json_['notificationConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      securitySettings: json_['securitySettings'] as core.String?,
      sttConfig: json_.containsKey('sttConfig')
          ? GoogleCloudDialogflowV2SpeechToTextConfig.fromJson(
              json_['sttConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      timeZone: json_['timeZone'] as core.String?,
      ttsConfig: json_.containsKey('ttsConfig')
          ? GoogleCloudDialogflowV2SynthesizeSpeechConfig.fromJson(
              json_['ttsConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      updateTime: json_['updateTime'] as core.String?,
    );