public class Image
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected ImageDimensions |
dimensions |
protected java.util.List<Error> |
errors |
protected DetectedObjects |
objects |
protected ImageSource |
source |
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
ImageDimensions |
getDimensions()
Gets the dimensions.
|
java.util.List<Error> |
getErrors()
Gets the errors.
|
DetectedObjects |
getObjects()
Gets the objects.
|
ImageSource |
getSource()
Gets the source.
|
protected ImageSource source
protected ImageDimensions dimensions
protected DetectedObjects objects
protected java.util.List<Error> errors
public ImageSource getSource()
The source type of the image.
public ImageDimensions getDimensions()
Height and width of an image.
public DetectedObjects getObjects()
Container for the list of collections that have objects detected in an image.
public java.util.List<Error> getErrors()
A container for the problems in the request.