public interface CommunicationChannelWriter extends CanvasWriter<CommunicationChannel,CommunicationChannelWriter>
| Modifier and Type | Method and Description |
|---|---|
Optional<CommunicationChannel> |
createCommunicationChannel(CreateCommunicationChannelOptions options)
Adds a communication channel to a Canvas user.
|
Optional<CommunicationChannel> |
deleteCommunicationChannel(CommunicationChannel cc)
Delete a communication channel from Canvas
|
writeAsCanvasUser, writeAsSisUserOptional<CommunicationChannel> createCommunicationChannel(CreateCommunicationChannelOptions options) throws IOException
options - The communication channel to create. Must contain user ID and address.IOException - When there is an error communicating with CanvasOptional<CommunicationChannel> deleteCommunicationChannel(CommunicationChannel cc) throws IOException
cc - The communication channel record to delete. Must contain User ID and communication channel ID.IOException - When there is an error communicating with CanvasCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.