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