microsoftgraph / msgraph-beta-sdk-java

Microsoft Graph Beta Java SDK
https://docs.microsoft.com/en-us/graph/sdks/use-beta?tabs=Java
MIT License
25 stars 9 forks source link

SensitivityLabels do not agree with documentation or returned values #885

Closed paulwoods222 closed 8 months ago

paulwoods222 commented 8 months ago

6.2.0 SDK changes have redefined sensitivity labels in a way that does not match the documentation or the actual returned values.

Expected behavior

The SensitivityLabel is defined here: https://learn.microsoft.com/en-us/graph/api/resources/security-sensitivitylabel?view=graph-rest-beta There are some boolean properties (isActive,isAppliable,hasProtection) and a Color property.

Actual behavior

The SDK object has no color property, none of the booleans, but a lot of new properties ( ApplicationMode etc) https://github.com/microsoftgraph/msgraph-beta-sdk-java/blob/dev/src/main/java/com/microsoft/graph/beta/generated/models/SensitivityLabel.java

Steps to reproduce the behavior

Compare the two links

paulwoods222 commented 8 months ago

wrong SensitivityLabel class - they are in two place Sorry about that!