use of com.instructure.canvasapi2.models.ParentWrapper in project instructure-android by instructure.
the class UserAPI method addParentAirwolf.
/**
* Add parent to Airwolf/Canvas. Currently only used in the Parent App.
* @param body
* @param callback
*/
public static void addParentAirwolf(@NonNull RestBuilder adapter, @NonNull RestParams params, @NonNull Parent body, @NonNull StatusCallback<ParentResponse> callback) {
ParentWrapper parentWrapper = new ParentWrapper();
parentWrapper.setParent(body);
callback.addCall(adapter.build(UsersInterface.class, params).addParentAirwolf(parentWrapper)).enqueue(callback);
}
Aggregations