public void updateInfo ( BoxTermsOfServiceUserStatus . Info info ) { URL url = TERMS_OF_SERVICE_USER_STATUSES_TEMPLATE . build ( this . getAPI ( ) . getBaseURL ( ) , this . getID ( ) ) ; BoxJSONRequest request = new BoxJSONRequest ( this . getAPI ( ) , url , "PUT" ) ; request . setBody ( info . getPendingChanges ( ) ) ; BoxJSONResponse response = ( BoxJSONResponse ) request . send ( ) ; JsonObject responseJSON = JsonObject . readFrom ( response . getJSON ( ) ) ; info . update ( responseJSON ) ; }
Updates the information about the user status for this terms of service with any info fields that have been modified locally .