core.Map<core.String, core.dynamic> toJson() => { if (glossaryEntries != null) 'glossaryEntries': glossaryEntries!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, };