edu.ksu.canvas.model.report.AccountReportAttachment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
package edu.ksu.canvas.model.report;
import java.io.Serializable;
import java.net.URI;
import java.util.Date;
import com.google.gson.annotations.SerializedName;
/**
* Class to represent an attachment coming back from certain invocations of the report API.
* See the report object representation
* for a terse summary.
*/
public class AccountReportAttachment implements Serializable {
private Long id;
private String uuid;
private Integer folderId;
private String displayName;
private String filename;
@SerializedName("content-type")
private String contentType;
private URI url;
private Long size;
private Date createdAt;
private Date updatedAt;
private Date unlockAt;
private Boolean locked;
private Boolean hidden;
private Date lockAt;
private Boolean hiddenForUser;
private URI thumbnailUrl;
private Date modifiedAt;
private String mimeClass;
private String mediaEntryId;
private Boolean lockedForUser;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getUuid() {
return uuid;
}
public void setUuid(String uuid) {
this.uuid = uuid;
}
public Integer getFolderId() {
return folderId;
}
public void setFolderId(Integer folderId) {
this.folderId = folderId;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public String getFilename() {
return filename;
}
public void setFilename(String filename) {
this.filename = filename;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public URI getUrl() {
return url;
}
public void setUrl(URI url) {
this.url = url;
}
public Long getSize() {
return size;
}
public void setSize(Long size) {
this.size = size;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
public Date getUnlockAt() {
return unlockAt;
}
public void setUnlockAt(Date unlockAt) {
this.unlockAt = unlockAt;
}
public Boolean getLocked() {
return locked;
}
public void setLocked(Boolean locked) {
this.locked = locked;
}
public Boolean getHidden() {
return hidden;
}
public void setHidden(Boolean hidden) {
this.hidden = hidden;
}
public Date getLockAt() {
return lockAt;
}
public void setLockAt(Date lockAt) {
this.lockAt = lockAt;
}
public Boolean getHiddenForUser() {
return hiddenForUser;
}
public void setHiddenForUser(Boolean hiddenForUser) {
this.hiddenForUser = hiddenForUser;
}
public URI getThumbnailUrl() {
return thumbnailUrl;
}
public void setThumbnailUrl(URI thumbnailUrl) {
this.thumbnailUrl = thumbnailUrl;
}
public Date getModifiedAt() {
return modifiedAt;
}
public void setModifiedAt(Date modifiedAt) {
this.modifiedAt = modifiedAt;
}
public String getMimeClass() {
return mimeClass;
}
public void setMimeClass(String mimeClass) {
this.mimeClass = mimeClass;
}
public String getMediaEntryId() {
return mediaEntryId;
}
public void setMediaEntryId(String mediaEntryId) {
this.mediaEntryId = mediaEntryId;
}
public Boolean getLockedForUser() {
return lockedForUser;
}
public void setLockedForUser(Boolean lockedForUser) {
this.lockedForUser = lockedForUser;
}
}