GoogleCloudDialogflowCxV3SecuritySettings.fromJson constructor

GoogleCloudDialogflowCxV3SecuritySettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3SecuritySettings.fromJson(core.Map json_)
    : this(
        audioExportSettings: json_.containsKey('audioExportSettings')
            ? GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings
                .fromJson(json_['audioExportSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deidentifyTemplate: json_.containsKey('deidentifyTemplate')
            ? json_['deidentifyTemplate'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        insightsExportSettings: json_.containsKey('insightsExportSettings')
            ? GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
                .fromJson(json_['insightsExportSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        inspectTemplate: json_.containsKey('inspectTemplate')
            ? json_['inspectTemplate'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        purgeDataTypes: json_.containsKey('purgeDataTypes')
            ? (json_['purgeDataTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        redactionScope: json_.containsKey('redactionScope')
            ? json_['redactionScope'] as core.String
            : null,
        redactionStrategy: json_.containsKey('redactionStrategy')
            ? json_['redactionStrategy'] as core.String
            : null,
        retentionStrategy: json_.containsKey('retentionStrategy')
            ? json_['retentionStrategy'] as core.String
            : null,
        retentionWindowDays: json_.containsKey('retentionWindowDays')
            ? json_['retentionWindowDays'] as core.int
            : null,
      );