use of com.instructure.canvasapi2.models.AccountNotification in project instructure-android by instructure.
the class AccountNotificationManager_Test method getAccountNotificationForStudent.
public static void getAccountNotificationForStudent(String parentId, String studentId, String accountNotificationId, StatusCallback<AccountNotification> callback) {
Response response = new Response.Builder().code(200).message("todo").protocol(Protocol.HTTP_1_0).body(ResponseBody.create(MediaType.parse("application/json"), "todo".getBytes())).addHeader("content-type", "application/json").build();
AccountNotification item = new AccountNotification();
retrofit2.Response<AccountNotification> response1 = retrofit2.Response.success(item, response);
callback.onResponse(response1, new LinkHeaders(), ApiType.CACHE);
}
Aggregations