code: private String getResponseString(boolean async, UploaderResponse response) {
          return async ? response.getTicketId() : response.getPhotoId();
      }
docs: Get the photo or ticket id from the response.
  
  @param async
  @param response
  @return