public class ModuleImpl extends BaseImpl<Module,ModuleReader,CanvasWriter> implements ModuleReader
apiVersion, canvasBaseUrl, canvasMessenger, masqueradeAs, masqueradeType, oauthToken, paginationPageSize, responseCallback, responseParser, serializeNulls| Constructor and Description |
|---|
ModuleImpl(String canvasBaseUrl,
Integer apiVersion,
OauthToken oauthToken,
RestClient restClient,
int connectTimeout,
int readTimeout,
Integer paginationPageSize,
Boolean serializeNulls) |
| Modifier and Type | Method and Description |
|---|---|
List<Module> |
getModulesInCourse(ListModulesOptions options)
Retrieve the list of modules in a course.
|
protected Type |
listType() |
protected Class<Module> |
objectType() |
buildCanvasUrl, encode, getFromCanvas, getListFromCanvas, parseListOfResponses, readAsCanvasUser, readAsSisUser, withCallback, writeAsCanvasUser, writeAsSisUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAsCanvasUser, readAsSisUser, withCallbackpublic ModuleImpl(String canvasBaseUrl, Integer apiVersion, OauthToken oauthToken, RestClient restClient, int connectTimeout, int readTimeout, Integer paginationPageSize, Boolean serializeNulls)
public List<Module> getModulesInCourse(ListModulesOptions options) throws IOException
ModuleReadergetModulesInCourse in interface ModuleReaderoptions - The object holding options for this API callIOException - When there is an error communicating with Canvasprotected Class<Module> objectType()
objectType in class BaseImpl<Module,ModuleReader,CanvasWriter>protected Type listType()
listType in class BaseImpl<Module,ModuleReader,CanvasWriter>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.