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