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