GoogleCloudContactcenterinsightsV1Settings.fromJson constructor

GoogleCloudContactcenterinsightsV1Settings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1Settings.fromJson(core.Map json_)
    : this(
        analysisConfig: json_.containsKey('analysisConfig')
            ? GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig
                .fromJson(json_['analysisConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        conversationTtl: json_.containsKey('conversationTtl')
            ? json_['conversationTtl'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pubsubNotificationSettings:
            json_.containsKey('pubsubNotificationSettings')
                ? (json_['pubsubNotificationSettings']
                        as core.Map<core.String, core.dynamic>)
                    .map(
                    (key, value) => core.MapEntry(
                      key,
                      value as core.String,
                    ),
                  )
                : null,
        redactionConfig: json_.containsKey('redactionConfig')
            ? GoogleCloudContactcenterinsightsV1RedactionConfig.fromJson(
                json_['redactionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        speechConfig: json_.containsKey('speechConfig')
            ? GoogleCloudContactcenterinsightsV1SpeechConfig.fromJson(
                json_['speechConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );