public class ClassifiedImage
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ClassifierResult> |
classifiers |
protected ErrorInfo |
error |
protected java.lang.String |
image |
protected java.lang.String |
resolvedUrl |
protected java.lang.String |
sourceUrl |
Constructor and Description |
---|
ClassifiedImage() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ClassifierResult> |
getClassifiers()
Gets the classifiers.
|
ErrorInfo |
getError()
Gets the error.
|
java.lang.String |
getImage()
Gets the image.
|
java.lang.String |
getResolvedUrl()
Gets the resolvedUrl.
|
java.lang.String |
getSourceUrl()
Gets the sourceUrl.
|
@SerializedName(value="source_url") protected java.lang.String sourceUrl
@SerializedName(value="resolved_url") protected java.lang.String resolvedUrl
protected java.lang.String image
protected ErrorInfo error
protected java.util.List<ClassifierResult> classifiers
public java.lang.String getSourceUrl()
Source of the image before any redirects. Not returned when the image is uploaded.
public java.lang.String getResolvedUrl()
Fully resolved URL of the image after redirects are followed. Not returned when the image is uploaded.
public java.lang.String getImage()
Relative path of the image file if uploaded directly. Not returned when the image is passed by URL.
public ErrorInfo getError()
Information about what might have caused a failure, such as an image that is too large. Not returned when there is no error.
public java.util.List<ClassifierResult> getClassifiers()
The classifiers.