edu.ksu.canvas.model.Deposit 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;
import java.util.Map;
/**
* This is part of the file upload workflow: https://canvas.instructure.com/doc/api/file.file_uploads.html
* It's the data that is returned after asking to upload a file.
*/
public class Deposit {
// This doesn't extend basemodel as it's never sent back to Canvas in the normal way.
private String uploadUrl;
private Map uploadParams;
public String getUploadUrl() {
return uploadUrl;
}
public void setUploadUrl(String uploadUrl) {
this.uploadUrl = uploadUrl;
}
public Map getUploadParams() {
return uploadParams;
}
public void setUploadParams(Map uploadParams) {
this.uploadParams = uploadParams;
}
}