Created
August 21, 2017 19:49
-
-
Save shrutis22/5013d27856897ba0869e3ccc82f58ef2 to your computer and use it in GitHub Desktop.
This class is created to receive the Response of Sentiment Analysis API.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This class is created to receive | |
* the Response of Sentiment Analysis | |
* API. | |
* | |
* @author Shruti Sridharan | |
* @since 10/08/2017 | |
* @revisions N/A | |
**/ | |
global class SentimentAnalysisResponse { | |
webservice List<Probabilities> probabilities { get; set; } | |
global class Probabilities { | |
webservice String label { get; set; } | |
webservice Double probability { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment