{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/245","repository_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php","labels_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/245/comments","events_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/245/events","html_url":"https://github.com/zendesk/zendesk_api_client_php/issues/245","id":155722983,"number":245,"title":"inconsistent methods in Organizations class.","user":{"login":"devanes","id":6104616,"avatar_url":"https://avatars.githubusercontent.com/u/6104616?v=3","gravatar_id":"","url":"https://api.github.com/users/devanes","html_url":"https://github.com/devanes","followers_url":"https://api.github.com/users/devanes/followers","following_url":"https://api.github.com/users/devanes/following{/other_user}","gists_url":"https://api.github.com/users/devanes/gists{/gist_id}","starred_url":"https://api.github.com/users/devanes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devanes/subscriptions","organizations_url":"https://api.github.com/users/devanes/orgs","repos_url":"https://api.github.com/users/devanes/repos","events_url":"https://api.github.com/users/devanes/events{/privacy}","received_events_url":"https://api.github.com/users/devanes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-19T12:18:39Z","updated_at":"2016-07-20T03:16:16Z","closed_at":"2016-07-20T03:16:16Z","body":"In the Zendesk\\API\\Resources\\Core\\Organizations class the PHPDoc suggests methods calles \\d\r\n**organizationMemberships** and **organizationSubscriptions**, but in the getValidSubResources method, these are called **memberships** and **subscriptions**.\r\n\r\nNot only does this result in autocompleted methods in my IDE which don't work, but also using the shorter names is inconsistent with the actuals names uses in the API itself and in for example the Zendesk\\API\\Resources\\Core\\Users class (where the long version is used)."},"comment":{"url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/comments/233827756","html_url":"https://github.com/zendesk/zendesk_api_client_php/issues/245#issuecomment-233827756","issue_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/245","id":233827756,"user":{"login":"miogalang","id":1471573,"avatar_url":"https://avatars.githubusercontent.com/u/1471573?v=3","gravatar_id":"","url":"https://api.github.com/users/miogalang","html_url":"https://github.com/miogalang","followers_url":"https://api.github.com/users/miogalang/followers","following_url":"https://api.github.com/users/miogalang/following{/other_user}","gists_url":"https://api.github.com/users/miogalang/gists{/gist_id}","starred_url":"https://api.github.com/users/miogalang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miogalang/subscriptions","organizations_url":"https://api.github.com/users/miogalang/orgs","repos_url":"https://api.github.com/users/miogalang/repos","events_url":"https://api.github.com/users/miogalang/events{/privacy}","received_events_url":"https://api.github.com/users/miogalang/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T03:16:16Z","updated_at":"2016-07-20T03:16:16Z","body":"Let's talk about this in https://github.com/zendesk/zendesk_api_client_php/issues/247. Closing this so we can have one issue for this."}}
{"actor":{"display_login":"miogalang"}}