toJson method
Implementation
@override
Object toJson() => {
if (partialFailuresGcsPath != null)
'partialFailuresGcsPath': partialFailuresGcsPath,
if (partialFailuresBigqueryTable != null)
'partialFailuresBigqueryTable': partialFailuresBigqueryTable,
if (importedRagFilesCount.isNotDefault)
'importedRagFilesCount': encodeInt64(importedRagFilesCount),
if (failedRagFilesCount.isNotDefault)
'failedRagFilesCount': encodeInt64(failedRagFilesCount),
if (skippedRagFilesCount.isNotDefault)
'skippedRagFilesCount': encodeInt64(skippedRagFilesCount),
};