@override Object toJson() => { 'uri': uri, if (ragCorpusId.isNotDefault) 'ragCorpusId': encodeInt64(ragCorpusId), };