Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIS Import Errors Attachment: CanvasField and CanvasObject annotation… #38

Merged
merged 1 commit into from
Oct 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
package edu.ksu.canvas.model.sisimport;
import edu.ksu.canvas.annotation.CanvasField;
import edu.ksu.canvas.annotation.CanvasObject;
import edu.ksu.canvas.model.BaseCanvasModel;

import java.io.Serializable;
Expand All @@ -10,7 +8,6 @@
* Class to represent Canvas Sis Imports Errors Attachment
* See <a href="https://canvas.instructure.com/doc/api/sis_imports.html#SisImport">SisImport</a> documentation.
*/
@CanvasObject(postKey = "errors_attachment")
public class SisImportErrorsAttachment extends BaseCanvasModel implements Serializable {
public static final long serialVersionUID = 1L;

Expand Down Expand Up @@ -52,7 +49,6 @@ public void setUuid(String uuid) {
this.uuid = uuid;
}

@CanvasField(postKey = "folder_id")
public String getFolderId() {
return folderId;
}
Expand All @@ -61,7 +57,6 @@ public void setFolderId(String folderId) {
this.folderId = folderId;
}

@CanvasField(postKey = "display_name")
public String getDisplayName() {
return displayName;
}
Expand All @@ -78,7 +73,6 @@ public void setFileName(String filename) {
this.filename = filename;
}

@CanvasField(postKey = "upload_status")
public String getUploadStatus() {
return uploadStatus;
}
Expand All @@ -87,7 +81,6 @@ public void setUploadStatus(String uploadStatus) {
this.uploadStatus = uploadStatus;
}

@CanvasField(postKey = "content-type")
public String getContentType() {
return contentType;
}
Expand All @@ -112,7 +105,6 @@ public void setSize(Integer size) {
this.size = size;
}

@CanvasField(postKey = "created_at")
public Instant getCreatedAt() {
return createdAt;
}
Expand All @@ -121,7 +113,6 @@ public void setCreatedAt(Instant createdAt) {
this.createdAt = createdAt;
}

@CanvasField(postKey = "updated_at")
public Instant getUpdatedAt() {
return updatedAt;
}
Expand All @@ -130,7 +121,6 @@ public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt;
}

@CanvasField(postKey = "unlock_at")
public Instant getUnlockAt() {
return unlockAt;
}
Expand All @@ -155,7 +145,6 @@ public void setHidden(boolean hidden) {
this.hidden = hidden;
}

@CanvasField(postKey = "lock_at")
public Instant getLockAt() {
return lockAt;
}
Expand All @@ -164,7 +153,6 @@ public void setLockAt(Instant lockAt) {
this.lockAt = lockAt;
}

@CanvasField(postKey = "hidden_for_user")
public boolean getHiddenForUser() {
return hiddenForUser;
}
Expand All @@ -173,7 +161,6 @@ public void setHiddenForUser(boolean hiddenForUser) {
this.hiddenForUser = hiddenForUser;
}

@CanvasField(postKey = "thumbnail_url")
public String getThumbnailUrl() {
return thumbnailUrl;
}
Expand All @@ -182,7 +169,6 @@ public void setThumbnailUrl(String thumbnailUrl) {
this.thumbnailUrl = thumbnailUrl;
}

@CanvasField(postKey = "modified_at")
public Instant getModifiedAt() {
return modifiedAt;
}
Expand All @@ -191,7 +177,6 @@ public void setModifiedAt(Instant modifiedAt) {
this.modifiedAt = modifiedAt;
}

@CanvasField(postKey = "mime_class")
public String getMimeClass() {
return mimeClass;
}
Expand All @@ -200,7 +185,6 @@ public void setMimeClass(String mimeClass) {
this.mimeClass = mimeClass;
}

@CanvasField(postKey = "media_entry_id")
public String getMediaEntryId() {
return mediaEntryId;
}
Expand All @@ -209,7 +193,6 @@ public void setMediaEntryId(String mediaEntryId) {
this.mediaEntryId = mediaEntryId;
}

@CanvasField(postKey = "locked_for_user")
public boolean getLockedForUser() {
return lockedForUser;
}
Expand Down