Click or drag to resize

Warning Class

The Warning Object.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.PersonalityInsights.v3Warning

Namespace:  IBM.Watson.DeveloperCloud.Services.PersonalityInsights.v3
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Warning

The Warning type exposes the following members.

Constructors
  NameDescription
Public methodWarning
Initializes a new instance of the Warning class
Top
Properties
  NameDescription
Public propertymessage
The message associated with the `warning_id`. For `WORD_COUNT_MESSAGE`, "There were >number< words in the input. We need a minimum of 600, preferably 1,200 or more, to compute statistically significant estimates."; for `JSON_AS_TEXT`, "Request input was processed as text/plain as indicated, however detected a JSON input. Did you mean application/json?"; and for `PARTIAL_TEXT_USED`, "The text provided to compute the profile was trimmed for performance reasons. This action does not affect the accuracy of the output, as not all of the input text was required." The `PARTIAL_TEXT_USED` warning applies only when Arabic input text exceeds a threshold at which additional words do not contribute to the accuracy of the profile.
Public propertywarning_id
The identifier of the warning message, one of `WORD_COUNT_MESSAGE`, `JSON_AS_TEXT`, or `PARTIAL_TEXT_USED`.
Top
See Also