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.
  • Constructor Details

    • ImageSource

      public ImageSource()
  • Method Details

    • getType

      public String getType()
      Gets the type.

      The source type of the image.

      Returns:
      the type
    • getFilename

      public String getFilename()
      Gets the filename.

      Name of the image file if uploaded. Not returned when the image is passed by URL.

      Returns:
      the filename
    • getArchiveFilename

      public String 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

      public String getSourceUrl()
      Gets the sourceUrl.

      Source of the image before any redirects. Not returned when the image is uploaded.

      Returns:
      the sourceUrl
    • getResolvedUrl

      public String getResolvedUrl()
      Gets the resolvedUrl.

      Fully resolved URL of the image after redirects are followed. Not returned when the image is uploaded.

      Returns:
      the resolvedUrl