public class ImageSource
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
ImageSource.Type
The source type of the image.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
archiveFilename |
protected java.lang.String |
filename |
protected java.lang.String |
resolvedUrl |
protected java.lang.String |
sourceUrl |
protected java.lang.String |
type |
Constructor and Description |
---|
ImageSource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArchiveFilename()
Gets the archiveFilename.
|
java.lang.String |
getFilename()
Gets the filename.
|
java.lang.String |
getResolvedUrl()
Gets the resolvedUrl.
|
java.lang.String |
getSourceUrl()
Gets the sourceUrl.
|
java.lang.String |
getType()
Gets the type.
|
protected java.lang.String type
protected java.lang.String filename
@SerializedName(value="archive_filename") protected java.lang.String archiveFilename
@SerializedName(value="source_url") protected java.lang.String sourceUrl
@SerializedName(value="resolved_url") protected java.lang.String resolvedUrl
public java.lang.String getType()
The source type of the image.
public java.lang.String getFilename()
Name of the image file if uploaded. Not returned when the image is passed by URL.
public java.lang.String getArchiveFilename()
Name of the .zip file of images if uploaded. Not returned when the image is passed directly or by URL.
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.