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_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        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_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        loggingConfig: json_.containsKey('loggingConfig')
            ? GoogleCloudDialogflowV2LoggingConfig.fromJson(
                json_['loggingConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        newMessageEventNotificationConfig:
            json_.containsKey('newMessageEventNotificationConfig')
                ? GoogleCloudDialogflowV2NotificationConfig.fromJson(
                    json_['newMessageEventNotificationConfig']
                        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_.containsKey('securitySettings')
            ? json_['securitySettings'] as core.String
            : null,
        sttConfig: json_.containsKey('sttConfig')
            ? GoogleCloudDialogflowV2SpeechToTextConfig.fromJson(
                json_['sttConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
        ttsConfig: json_.containsKey('ttsConfig')
            ? GoogleCloudDialogflowV2SynthesizeSpeechConfig.fromJson(
                json_['ttsConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );