Skip to content

Commit e0915ae

Browse files
committed
Document ReportShared object removal in migration guide
- Add detailed migration instructions for ReportShared removal - Clarify that name and status remain on parent Report object - Show that other properties moved to specific report type accessors - Include example showing document report accessor usage
1 parent bf60e09 commit e0915ae

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

MIGRATION.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,24 @@ ensuring a smooth transition between versions.
3737
### Other Endpoints
3838

3939
- Reports
40+
- **`ReportShared` object removed**: Common report properties previously accessed
41+
via `getReportShared()` are now available directly on each specific report type
42+
- Example migration:
43+
44+
```java
45+
// Before (v6.x)
46+
ReportName name = report.getReportShared().getName();
47+
ReportStatus status = report.getReportShared().getStatus();
48+
String checkId = report.getReportShared().getCheckId();
49+
String result = report.getReportShared().getResult();
50+
51+
// After (v7.x)
52+
ReportName name = report.getName(); // Still on parent Report object
53+
ReportStatus status = report.getStatus(); // Still on parent Report object
54+
String checkId = report.getDocumentReport().getCheckId(); // E.g. for document report
55+
String result = report.getDocumentReport().getResult(); // E.g. for document report
56+
```
57+
4058
- Device Intelligence: Removed deprecated `breakdown` property and related
4159
breakdown classes:
4260
- `DeviceIntelligenceBreakdownProperties` removed

0 commit comments

Comments
 (0)