Class ImageSource
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.ImageSource
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ImageSource
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The source type of the image.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageSource.TypeThe source type of the image. -
Constructor Summary
Constructors Constructor Description ImageSource() -
Method Summary
Modifier and Type Method Description StringgetArchiveFilename()Gets the archiveFilename.StringgetFilename()Gets the filename.StringgetResolvedUrl()Gets the resolvedUrl.StringgetSourceUrl()Gets the sourceUrl.StringgetType()Gets the type.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ImageSource
public ImageSource()
-
-
Method Details
-
getType
Gets the type.The source type of the image.
- Returns:
- the type
-
getFilename
Gets the filename.Name of the image file if uploaded. Not returned when the image is passed by URL.
- Returns:
- the filename
-
getArchiveFilename
Gets the archiveFilename.Name of the .zip file of images if uploaded. Not returned when the image is passed directly or by URL.
- Returns:
- the archiveFilename
-
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
-