public class Attachment extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static interface |
Attachment.AttachmentJsonizer |
| Constructor and Description |
|---|
Attachment() |
Attachment(String id,
String uri,
String name,
String description,
String thumbnailURL,
String mimeType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
String |
getMimeType() |
String |
getName() |
String |
getThumbnailURL() |
String |
getUri() |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setMimeType(String mimeType) |
void |
setName(String name) |
void |
setThumbnailURL(String thumbnailURL) |
void |
setUri(String uri) |
String |
toString() |
public Attachment()
public Attachment(String id, String uri, String name, String description, String thumbnailURL, String mimeType)
id - the id in the cassandra CFuri - where you can download the file fromname - the name of the attached filedescription - the description of the attached filethumbnailURL - the URL of the image representing the attached filemimeType - the type of filepublic String getId()
public void setId(String id)
public String getUri()
public void setUri(String uri)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getThumbnailURL()
public void setThumbnailURL(String thumbnailURL)
public String getMimeType()
public void setMimeType(String mimeType)
Copyright © 2018. All Rights Reserved.