edu.ksu.canvas.model.AccountAdmin 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;
import edu.ksu.canvas.annotation.CanvasField;
/**
* Class to represent Canvas Account Admins.
* See Admins documentation.
*/
public class AccountAdmin {
public static final long serialVersionUID = 1L;
private Integer id;
private String role;
private Integer roleId;
private User user;
private String workflowState;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public Integer getRoleId() {
return roleId;
}
public void setRoleId(Integer roleId) {
this.roleId = roleId;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
@CanvasField(postKey = "workflow_state")
public String getWorkflowState() {
return workflowState;
}
public void setWorkflowState(String workflowState) {
this.workflowState = workflowState;
}
}