GoogleCloudDataplexV1DataQualityResult.fromJson constructor
GoogleCloudDataplexV1DataQualityResult.fromJson(
- Map json_
Implementation
GoogleCloudDataplexV1DataQualityResult.fromJson(core.Map json_)
: this(
columns: json_.containsKey('columns')
? (json_['columns'] as core.List)
.map((value) =>
GoogleCloudDataplexV1DataQualityColumnResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
dimensions: json_.containsKey('dimensions')
? (json_['dimensions'] as core.List)
.map((value) =>
GoogleCloudDataplexV1DataQualityDimensionResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
passed:
json_.containsKey('passed') ? json_['passed'] as core.bool : null,
postScanActionsResult: json_.containsKey('postScanActionsResult')
? GoogleCloudDataplexV1DataQualityResultPostScanActionsResult
.fromJson(json_['postScanActionsResult']
as core.Map<core.String, core.dynamic>)
: null,
rowCount: json_.containsKey('rowCount')
? json_['rowCount'] as core.String
: null,
rules: json_.containsKey('rules')
? (json_['rules'] as core.List)
.map((value) =>
GoogleCloudDataplexV1DataQualityRuleResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
scannedData: json_.containsKey('scannedData')
? GoogleCloudDataplexV1ScannedData.fromJson(
json_['scannedData'] as core.Map<core.String, core.dynamic>)
: null,
score: json_.containsKey('score')
? (json_['score'] as core.num).toDouble()
: null,
);