public class RoleImpl extends BaseImpl<Role,RoleReader,RoleWriter> implements RoleReader, RoleWriter
apiVersion, canvasBaseUrl, canvasMessenger, masqueradeAs, masqueradeType, oauthToken, paginationPageSize, responseCallback, responseParser, serializeNulls| Constructor and Description |
|---|
RoleImpl(String canvasBaseUrl,
Integer apiVersion,
OauthToken oauthToken,
RestClient restClient,
int connectTimeout,
int readTimeout,
Integer paginationPageSize,
Boolean serializeNulls) |
| Modifier and Type | Method and Description |
|---|---|
List<Role> |
listRoles(ListRolesOptions options)
Return a list of roles for an account.
|
protected Type |
listType() |
protected Class<Role> |
objectType() |
buildCanvasUrl, encode, getFromCanvas, getListFromCanvas, parseListOfResponses, readAsCanvasUser, readAsSisUser, withCallback, writeAsCanvasUser, writeAsSisUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAsCanvasUser, readAsSisUser, withCallbackwriteAsCanvasUser, writeAsSisUserpublic RoleImpl(String canvasBaseUrl, Integer apiVersion, OauthToken oauthToken, RestClient restClient, int connectTimeout, int readTimeout, Integer paginationPageSize, Boolean serializeNulls)
public List<Role> listRoles(ListRolesOptions options) throws IOException
RoleReaderlistRoles in interface RoleReaderoptions - Object encapsulating parameters to the list accounts API callIOException - When there is an error communicating with Canvasprotected Type listType()
listType in class BaseImpl<Role,RoleReader,RoleWriter>protected Class<Role> objectType()
objectType in class BaseImpl<Role,RoleReader,RoleWriter>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.