apiVersion, canvasBaseUrl, canvasMessenger, masqueradeAs, masqueradeType, oauthToken, paginationPageSize, responseCallback, responseParser, serializeNulls| Constructor and Description |
|---|
TabImpl(String canvasBaseUrl,
Integer apiVersion,
OauthToken oauthToken,
RestClient restClient,
int connectTimeout,
int readTimeout,
Integer paginationPageSize,
Boolean serializeNulls) |
| Modifier and Type | Method and Description |
|---|---|
List<Tab> |
listAvailableCourseTabs(String courseId,
boolean includeExternalTools)
Lists the navigation tabs for the given course.
|
protected Type |
listType() |
protected Class<Tab> |
objectType() |
Optional<Tab> |
updateCourseTab(UpdateCourseTabOptions options)
Modifies a tab.
|
buildCanvasUrl, encode, getFromCanvas, getListFromCanvas, parseListOfResponses, readAsCanvasUser, readAsSisUser, withCallback, writeAsCanvasUser, writeAsSisUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAsCanvasUser, readAsSisUser, withCallbackwriteAsCanvasUser, writeAsSisUserpublic TabImpl(String canvasBaseUrl, Integer apiVersion, OauthToken oauthToken, RestClient restClient, int connectTimeout, int readTimeout, Integer paginationPageSize, Boolean serializeNulls)
public List<Tab> listAvailableCourseTabs(String courseId, boolean includeExternalTools) throws IOException
TabReaderlistAvailableCourseTabs in interface TabReadercourseId - identifies the courseincludeExternalTools - includes external tool tabs in the resultsIOException - When there is an error communicating with Canvaspublic Optional<Tab> updateCourseTab(UpdateCourseTabOptions options) throws IOException
TabWriterupdateCourseTab in interface TabWriteroptions - options specifying the course, tab, and what to modifyIOException - When there is an error communicating with Canvasprotected Class<Tab> objectType()
objectType in class BaseImpl<Tab,TabReader,TabWriter>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.