Class TextAnalyticsWarning
java.lang.Object
com.azure.ai.textanalytics.models.TextAnalyticsWarning
The
TextAnalyticsWarning
model.-
Constructor Summary
ConstructorDescriptionTextAnalyticsWarning
(WarningCode warningCode, String message) Creates aTextAnalyticsWarning
model that describes text analytics warning. -
Method Summary
Modifier and TypeMethodDescriptionGet the message property: Warning message.Get the warning code property: warning code, such as 'LongWordsInDocument'.
-
Constructor Details
-
TextAnalyticsWarning
Creates aTextAnalyticsWarning
model that describes text analytics warning.- Parameters:
warningCode
- The warning code valuemessage
- The warning message.
-
-
Method Details
-
getWarningCode
Get the warning code property: warning code, such as 'LongWordsInDocument'.- Returns:
- the warning code value.
-
getMessage
Get the message property: Warning message.- Returns:
- the message value.
-