Class ClassifiedImage
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v3.model.ClassifiedImage
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ClassifiedImage
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Results for one image.
-
Constructor Summary
Constructors Constructor Description ClassifiedImage()
-
Method Summary
Modifier and Type Method Description List<ClassifierResult>
getClassifiers()
Gets the classifiers.ErrorInfo
getError()
Gets the error.String
getImage()
Gets the image.String
getResolvedUrl()
Gets the resolvedUrl.String
getSourceUrl()
Gets the sourceUrl.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ClassifiedImage
public ClassifiedImage()
-
-
Method Details
-
getSourceUrl
Gets the sourceUrl.Source of the image before any redirects. Not returned when the image is uploaded.
- Returns:
- the sourceUrl
-
getResolvedUrl
Gets the resolvedUrl.Fully resolved URL of the image after redirects are followed. Not returned when the image is uploaded.
- Returns:
- the resolvedUrl
-
getImage
Gets the image.Relative path of the image file if uploaded directly. Not returned when the image is passed by URL.
- Returns:
- the image
-
getError
Gets the error.Information about what might have caused a failure, such as an image that is too large. Not returned when there is no error.
- Returns:
- the error
-
getClassifiers
Gets the classifiers.The classifiers.
- Returns:
- the classifiers
-