toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (mappingId != null) {
json[r'MappingId'] = mappingId;
}
if (sourceAssetModelId != null) {
json[r'SourceAssetModelId'] = sourceAssetModelId;
}
if (sourceEntityId != null) {
json[r'SourceEntityId'] = sourceEntityId;
}
if (targetAssetModelId != null) {
json[r'TargetAssetModelId'] = targetAssetModelId;
}
if (targetEntityId != null) {
json[r'TargetEntityId'] = targetEntityId;
}
if (sourceEntity != null) {
json[r'SourceEntity'] = sourceEntity;
}
if (targetEntity != null) {
json[r'TargetEntity'] = targetEntity;
}
if (matchType != null) {
json[r'MatchType'] = matchType;
}
if (percentConfidence != null) {
json[r'PercentConfidence'] = percentConfidence;
}
if (mapping != null) {
json[r'Mapping'] = mapping;
}
return json;
}