Class TextAnalyticsWarning

java.lang.Object
com.azure.ai.textanalytics.models.TextAnalyticsWarning

public final class TextAnalyticsWarning extends Object
  • Constructor Details

    • TextAnalyticsWarning

      public TextAnalyticsWarning(WarningCode warningCode, String message)
      Creates a TextAnalyticsWarning model that describes text analytics warning.
      Parameters:
      warningCode - The warning code value
      message - The warning message.
  • Method Details

    • getWarningCode

      public WarningCode getWarningCode()
      Get the warning code property: warning code, such as 'LongWordsInDocument'.
      Returns:
      the warning code value.
    • getMessage

      public String getMessage()
      Get the message property: Warning message.
      Returns:
      the message value.