edu.ksu.canvas.model.assignment.SubmissionComment 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
The newest version!
package edu.ksu.canvas.model.assignment;
import edu.ksu.canvas.annotation.CanvasField;
import edu.ksu.canvas.model.BaseCanvasModel;
import edu.ksu.canvas.model.UserDisplay;
import java.io.Serializable;
import java.util.Date;
public class SubmissionComment extends BaseCanvasModel implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private String comment;
private Date createdAt;
private Date editedAt;
private Long authorId;
private String authorName;
private UserDisplay author;
private MediaComment mediaComment;
private Assignment assignment;
private Boolean assignmentVisible;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
@CanvasField(postKey = "created_at", array = false)
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
@CanvasField(postKey = "edited_at", array = false)
public Date getEditedAt() {
return editedAt;
}
public void setEditedAt(Date editedAt) {
this.editedAt = editedAt;
}
@CanvasField(postKey = "author_id", array = false)
public Long getAuthorId() {
return authorId;
}
public void setAuthorId(Long authorId) {
this.authorId = authorId;
}
@CanvasField(postKey = "author_name", array = false)
public String getAuthorName() {
return authorName;
}
public void setAuthorName(String authorName) {
this.authorName = authorName;
}
public UserDisplay getAuthor() {
return author;
}
public void setAuthor(UserDisplay author) {
this.author = author;
}
public MediaComment getMediaComment() {
return mediaComment;
}
public void setMediaComment(MediaComment mediaComment) {
this.mediaComment = mediaComment;
}
public Assignment getAssignment() {
return assignment;
}
public void setAssignment(Assignment assignment) {
this.assignment = assignment;
}
public Boolean getAssignmentVisible() {
return assignmentVisible;
}
public void setAssignmentVisible(Boolean assignmentVisible) {
this.assignmentVisible = assignmentVisible;
}
}