How to access "inferenceClassification" in msg object
See original GitHub issueSo I am working on an application and I need to access the “inferenceClassification” value of a message. this value tells me whether a message is focused or not.
There seem to be no way to access this value from this library even though it is provided by the MS graph API it is also contained in the cloud_data within the code
but there is no way to access it on the message object
Below is a extract from the data returned by the graph API (cloud_data) we can see that it contains the inferenceClassification property.
{
.
.
.
"inferenceClassification": "focused",
"body": {
"contentType": "html",
"content": '<html><head>\r\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><p>Hello Compose</p></body></html>',
},
"toRecipients": [
{
"emailAddress": {
"name": "esiebomaj@gmail.com",
"address": "esiebomaj@gmail.com",
}
}
],
"ccRecipients": [],
"bccRecipients": [],
"replyTo": [],
"flag": {"flagStatus": "notFlagged"},
}
So my issue is, is there an alternative way to access the property from the msg object or is there a way to get access to the cloud_data so that properties that are not taken care of by the library can be handled manually.
Thanks!!!
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Update-MgUserInferenceClassification (Microsoft.Graph.Mail ...
inferenceClassification To construct, please use Get-Help -Online and see NOTES section for BODYPARAMETER properties and create a hash table.
Read more >Message (msgraph-sdk-java API) - javadoc.io
public class Message extends OutlookItem implements IJsonBackedObject ... The Inference Classification. java.util. ... Sets the raw JSON object ...
Read more >microsoft-graph-docs/message.md at main - GitHub
To get the headers of a message, apply the $select query parameter in a get message operation. Adding your own data as custom...
Read more >internal\functions\exchange\mail\New-JsonMailObject.ps1
Creates a json message object for use in Microsoft Graph REST api .DESCRIPTION Creates a json message object for use in Microsoft Graph...
Read more >Mail.Read - Microsoft Graph Permission Explorer
V1, A,D, GET /users/{id}/inferenceClassification/overrides ... This allows Exchange to apply changes to the correct version of the object.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR are welcome. Just add a property to message to return that from and internal attribute. Set that internal attribute from cloud data.
@BlueSideStrongSide Thanks for working on this!