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

public class Warning
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Details about a problem.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  Warning.Code
    Identifier of the problem.
  • Constructor Summary

    Constructors
    Constructor Description
    Warning()  
  • Method Summary

    Modifier and Type Method Description
    String getCode()
    Gets the code.
    String getMessage()
    Gets the message.
    String getMoreInfo()
    Gets the moreInfo.

    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

    • Warning

      public Warning()
  • Method Details

    • getCode

      public String getCode()
      Gets the code.

      Identifier of the problem.

      Returns:
      the code
    • getMessage

      public String getMessage()
      Gets the message.

      An explanation of the problem with possible solutions.

      Returns:
      the message
    • getMoreInfo

      public String getMoreInfo()
      Gets the moreInfo.

      A URL for more information about the solution.

      Returns:
      the moreInfo