toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (sourceModelId != null) {
json[r'SourceModelId'] = sourceModelId;
}
if (targetModelId != null) {
json[r'TargetModelId'] = targetModelId;
}
if (mappingId != null) {
json[r'MappingId'] = mappingId;
}
if (sourceEntityCount != null) {
json[r'SourceEntityCount'] = sourceEntityCount;
}
if (targetEntityCount != null) {
json[r'TargetEntityCount'] = targetEntityCount;
}
if (mappedEntities != null) {
json[r'MappedEntities'] = mappedEntities;
}
if (candidateMatches != null) {
json[r'CandidateMatches'] = candidateMatches;
}
if (foundEntities != null) {
json[r'FoundEntities'] = foundEntities;
}
if (lostEntities != null) {
json[r'LostEntities'] = lostEntities;
}
if (messages != null) {
json[r'Messages'] = messages;
}
if (mappedCount != null) {
json[r'MappedCount'] = mappedCount;
}
if (partialMatchCount != null) {
json[r'PartialMatchCount'] = partialMatchCount;
}
if (foundCount != null) {
json[r'FoundCount'] = foundCount;
}
if (lostCount != null) {
json[r'LostCount'] = lostCount;
}
if (mappingProperties != null) {
json[r'MappingProperties'] = mappingProperties;
}
return json;
}