edu.ksu.canvas.requestOptions.DeleteCalendarEventOptions 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.requestOptions;
public class DeleteCalendarEventOptions extends BaseOptions {
private Integer id;
/**
* @param id The calendar event to delete.
*/
public DeleteCalendarEventOptions(Integer id) {
this.id = id;
}
public Integer getId() {
return id;
}
public DeleteCalendarEventOptions cancelReason(String cancelReason) {
addSingleItem("cancel_reason", cancelReason);
return this;
}
}