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