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
-
Constructor Details
-
WarningInfo
public WarningInfo()
-
-
Method Details
-
getWarningId
Gets the warningId.Codified warning string, such as `limit_reached`.
- Returns:
- the warningId
-
getDescription
Gets the description.Information about the error.
- Returns:
- the description
-