{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/395","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/395/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/395/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/395","id":59361663,"number":395,"title":"Pagnitor Interface","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Component-Google-APIs","name":"Component-Google-APIs","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-28T22:18:15Z","updated_at":"2015-02-28T22:18:15Z","closed_at":null,"body":"```\nMake classes that support paginated items implement an interface that exposes \nthis functionality:\n\nSomething like:\n\nclass Calendar.Events.List extends JsonHttpRequest implements PagniatorRequest\n\ninterface PagniatorRequest {\n  void setPageToken(String pageToken);\n}\n\n  \nThis is so a general purpose helper class can be written to implement paging \ncode that can be shared between different model classes - Calendar & Contacts \nfor example.\n\nThere is a workarround by calling JsonHttpRequesr.set(\"pageToke\", value) but \nexposing in an interface makes this more discoverable, easier to use.\n\n```\n\nOriginal issue reported on code.google.com by `alon.alb...@gmail.com` on 20 Jan 2012 at 5:40"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76551209","html_url":"https://github.com/chrsmith/google-api-java-client/issues/395#issuecomment-76551209","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/395","id":76551209,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T22:18:15Z","updated_at":"2015-02-28T22:18:15Z","body":"\n\nOriginal comment by `yan...@google.com` on 14 Jul 2012 at 11:28\n* Changed state: **Accepted**\n* Added labels: **Milestone-Version1.12.0**"}}