{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/twilio-java/issues/272","repository_url":"https://api.github.com/repos/twilio/twilio-java","labels_url":"https://api.github.com/repos/twilio/twilio-java/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-java/issues/272/comments","events_url":"https://api.github.com/repos/twilio/twilio-java/issues/272/events","html_url":"https://github.com/twilio/twilio-java/issues/272","id":168992587,"number":272,"title":"Class Name Misleading (next-gen)","user":{"login":"mcelicalderon","id":3926414,"avatar_url":"https://avatars.githubusercontent.com/u/3926414?v=3","gravatar_id":"","url":"https://api.github.com/users/mcelicalderon","html_url":"https://github.com/mcelicalderon","followers_url":"https://api.github.com/users/mcelicalderon/followers","following_url":"https://api.github.com/users/mcelicalderon/following{/other_user}","gists_url":"https://api.github.com/users/mcelicalderon/gists{/gist_id}","starred_url":"https://api.github.com/users/mcelicalderon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcelicalderon/subscriptions","organizations_url":"https://api.github.com/users/mcelicalderon/orgs","repos_url":"https://api.github.com/users/mcelicalderon/repos","events_url":"https://api.github.com/users/mcelicalderon/events{/privacy}","received_events_url":"https://api.github.com/users/mcelicalderon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twilio/twilio-java/labels/yoyodyne","name":"yoyodyne","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T21:26:02Z","updated_at":"2016-08-09T20:42:41Z","closed_at":"2016-08-09T20:42:41Z","body":"**Version:** 7.0.0-rc-14\r\n**API Subdomain (api/taskrouter/ip_messaging):** API\r\n\r\n### Code Snippet\r\n```java\r\nResourceSet<Call> calls =\r\n    new CallReader().byFrom(new PhoneNumber(\"client:tommy\")).execute();\r\n```\r\n\r\nSnippet above will actually work and filter correctly (I tried). But the `PhoneNumber` class name is misleading and there is no overloaded method `byFrom` that takes a client as argument. This is something that probably can change across the whole library. Create a `Client` type? \r\n\r\nI didn't add the yoyodyne label because I don't have access to this repository.\r\n"},"comment":{"url":"https://api.github.com/repos/twilio/twilio-java/issues/comments/238684659","html_url":"https://github.com/twilio/twilio-java/issues/272#issuecomment-238684659","issue_url":"https://api.github.com/repos/twilio/twilio-java/issues/272","id":238684659,"user":{"login":"jingming","id":1530951,"avatar_url":"https://avatars.githubusercontent.com/u/1530951?v=3","gravatar_id":"","url":"https://api.github.com/users/jingming","html_url":"https://github.com/jingming","followers_url":"https://api.github.com/users/jingming/followers","following_url":"https://api.github.com/users/jingming/following{/other_user}","gists_url":"https://api.github.com/users/jingming/gists{/gist_id}","starred_url":"https://api.github.com/users/jingming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingming/subscriptions","organizations_url":"https://api.github.com/users/jingming/orgs","repos_url":"https://api.github.com/users/jingming/repos","events_url":"https://api.github.com/users/jingming/events{/privacy}","received_events_url":"https://api.github.com/users/jingming/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T20:42:41Z","updated_at":"2016-08-09T20:42:41Z","body":"a new type `Endpoint` was added in `7.0.0-rc-17`. Both `PhoneNumber` and `Client` implement it."}}
{"actor":{"display_login":"jingming"}}