public static CodeSearchResults InterpretResponse(GithubDocument document) { var results = new CodeSearchResults(); results.Count = (int)document.Properties["total_count"]; return results; } public class CodeSearchResults