Device extends DeviceModel implements Parcelable { public void updateDevice(@NonNull Device device, @NonNull ApiCallback<Device> callback) { makePatchCall(device, false, Device.class, callback); } Device(); protected  Device(Parcel in); @Nullable Link getWebappAddCredentialLink(); void getUser(@NonNull ApiCallback<User> callback); boolean canGetUser(); void updateDevice(@NonNull Device device, @NonNull ApiCallback<Device> callback); void updateToken(@NonNull Device device, boolean add, @NonNull ApiCallback<Device> callback); boolean canUpdate(); void deleteDevice(@NonNull ApiCallback<Void> callback); boolean canDelete(); void makeActive(@NonNull ApiCallback<Device> callback); boolean canMakeActive(); void getDefaultCreditCard(@NonNull ApiCallback<CreditCard> callback); void getCommits(int limit, int offset, String lastCommitId, final ApiCallback<Collections.CommitsCollection> callback); boolean canGetCommits(); void getCommits(int limit, int offset, final ApiCallback<Collections.CommitsCollection> callback); void getCommits(final ApiCallback<Collections.CommitsCollection> callback); void getCommits(String lastCommitId, final ApiCallback<Collections.CommitsCollection> callback); void getAllCommits(String lastCommitId, final ApiCallback<Collections.CommitsCollection> callback); Single<Collections.CommitsCollection> getAllCommits(final String lastCommitId); void getLastAckCommit(final ApiCallback<Commit> callback); Single<Commit> getLastAckCommit(); Single<Collections.CommitsCollection> getAllCommitsAfterLastAckCommit(); void resetDevice(final ApiCallback<ResetDeviceResult> callback); Single<ResetDeviceResult> resetDevice(); boolean hasLastAckCommit(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); static final Parcelable.Creator<Device> CREATOR; }
@Test public void test06_updateDevice() throws InterruptedException { steps.updateDevice(); }