Class WarningInfo

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v3.model.WarningInfo
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class WarningInfo
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about something that went wrong.
  • Constructor Summary

    Constructors
    Constructor Description
    WarningInfo()  
  • Method Summary

    Modifier and Type Method Description
    String getDescription()
    Gets the description.
    String getWarningId()
    Gets the warningId.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WarningInfo

      public WarningInfo()
  • Method Details

    • getWarningId

      public String getWarningId()
      Gets the warningId.

      Codified warning string, such as `limit_reached`.

      Returns:
      the warningId
    • getDescription

      public String getDescription()
      Gets the description.

      Information about the error.

      Returns:
      the description