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