org.zendesk.client.v2.model.Attachment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zendesk-java-client Show documentation
Show all versions of zendesk-java-client Show documentation
Java client for the Zendesk API
The newest version!
package org.zendesk.client.v2.model;
import java.util.List;
/**
* @author stephenc
* @since 05/04/2013 15:38
*/
public class Attachment extends Photo {
private static final long serialVersionUID = 1L;
private List thumbnails;
public List getThumbnails() {
return thumbnails;
}
public void setThumbnails(List thumbnails) {
this.thumbnails = thumbnails;
}
@Override
public String toString() {
return "Attachment"
+ "{id="
+ getId()
+ ", fileName='"
+ getFileName()
+ '\''
+ ", contentType='"
+ getContentType()
+ '\''
+ ", contentUrl='"
+ getContentUrl()
+ '\''
+ ", size="
+ getSize()
+ ", thumbnails="
+ thumbnails
+ '}';
}
public static class Upload {
private String token;
private List attachments;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public List getAttachments() {
return attachments;
}
public void setAttachments(List attachments) {
this.attachments = attachments;
}
@Override
public String toString() {
return "Upload" + "{token='" + token + '\'' + ", attachments=" + attachments + '}';
}
}
}