{"action":"created","issue":{"url":"https://api.github.com/repos/CurrencyCloud/currencycloud-python/issues/4","labels_url":"https://api.github.com/repos/CurrencyCloud/currencycloud-python/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/CurrencyCloud/currencycloud-python/issues/4/comments","events_url":"https://api.github.com/repos/CurrencyCloud/currencycloud-python/issues/4/events","html_url":"https://github.com/CurrencyCloud/currencycloud-python/issues/4","id":92428149,"number":4,"title":"Unnecessary methods are exposed on objects","user":{"login":"rjnienaber","id":521795,"avatar_url":"https://avatars.githubusercontent.com/u/521795?v=3","gravatar_id":"","url":"https://api.github.com/users/rjnienaber","html_url":"https://github.com/rjnienaber","followers_url":"https://api.github.com/users/rjnienaber/followers","following_url":"https://api.github.com/users/rjnienaber/following{/other_user}","gists_url":"https://api.github.com/users/rjnienaber/gists{/gist_id}","starred_url":"https://api.github.com/users/rjnienaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjnienaber/subscriptions","organizations_url":"https://api.github.com/users/rjnienaber/orgs","repos_url":"https://api.github.com/users/rjnienaber/repos","events_url":"https://api.github.com/users/rjnienaber/events{/privacy}","received_events_url":"https://api.github.com/users/rjnienaber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T16:31:44Z","updated_at":"2015-07-01T16:33:43Z","closed_at":null,"body":"Example code:\r\n\r\n```python\r\n>>> contact = currencycloud.Contact.current()\r\n>>> set(dir(contact)) - set(dir(object))\r\nset(['__module__', 'retrieve', 'build_url', '_Resource__data', 'has_key', 'update_id', '__dict__', \r\n'changed_attributes', '__weakref__', 'find', '__contains__', '_Resource__changed_attributes', \r\n'create', 'encode_parameters', '__getattr__', 'current', 'save', '__len__', 'changed_items',\r\n '__getitem__', 'get', 'keys', 'array_fields', 'update', '__setitem__', 'post', 'data', 'resource',\r\n'changed', 'request', '__iter__', 'values', 'first'])\r\n```\r\n\r\nI would not expect to see  `post`, `request`, `retrieve` and etc on a class that is supposed to represent response data. "},"comment":{"url":"https://api.github.com/repos/CurrencyCloud/currencycloud-python/issues/comments/117740467","html_url":"https://github.com/CurrencyCloud/currencycloud-python/issues/4#issuecomment-117740467","issue_url":"https://api.github.com/repos/CurrencyCloud/currencycloud-python/issues/4","id":117740467,"user":{"login":"rjnienaber","id":521795,"avatar_url":"https://avatars.githubusercontent.com/u/521795?v=3","gravatar_id":"","url":"https://api.github.com/users/rjnienaber","html_url":"https://github.com/rjnienaber","followers_url":"https://api.github.com/users/rjnienaber/followers","following_url":"https://api.github.com/users/rjnienaber/following{/other_user}","gists_url":"https://api.github.com/users/rjnienaber/gists{/gist_id}","starred_url":"https://api.github.com/users/rjnienaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjnienaber/subscriptions","organizations_url":"https://api.github.com/users/rjnienaber/orgs","repos_url":"https://api.github.com/users/rjnienaber/repos","events_url":"https://api.github.com/users/rjnienaber/events{/privacy}","received_events_url":"https://api.github.com/users/rjnienaber/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T16:33:43Z","updated_at":"2015-07-01T16:33:43Z","body":"This seems to be different behaviour from Ruby which just displays the available properties e.g.:\r\n\r\n```ruby\r\n> contact.methods.sort - Object.methods\r\n => [:account_id, :account_id=, :account_name, :account_name=, :changed_attributes, :created_at, \r\n:created_at=, :date_of_birth, :date_of_birth=, :email_address, :email_address=, \r\n:first_name, :first_name=, :id, :id=, :keys, :last_name, :last_name=, :locale, :locale=, :login_id,\r\n:login_id=, :mobile_phone_number, :mobile_phone_number=, :phone_number, :phone_number=, :save,\r\n:status, :status=, :timezone, :timezone=, :updated_at, :updated_at=, :your_reference,\r\n:your_reference=]\r\n```"}}