{"action":"created","comment":{"url":"https://api.github.com/repos/yola/teamsupport-python/pulls/comments/44764858","id":44764858,"diff_hunk":"@@ -23,6 +27,31 @@ def __init__(self, client, ticket_id=None, data=None):\n                 '(neither given)')\n         self.id = self.TicketID\n \n+    @classmethod\n+    def create(self, client, first_name, email, category, name, description):","path":"teamsupport/models.py","position":16,"original_position":16,"commit_id":"895e168a313c2e6049a142d84facefa29cc227d6","original_commit_id":"895e168a313c2e6049a142d84facefa29cc227d6","user":{"login":"RayeN","id":712948,"avatar_url":"https://avatars.githubusercontent.com/u/712948?v=3","gravatar_id":"","url":"https://api.github.com/users/RayeN","html_url":"https://github.com/RayeN","followers_url":"https://api.github.com/users/RayeN/followers","following_url":"https://api.github.com/users/RayeN/following{/other_user}","gists_url":"https://api.github.com/users/RayeN/gists{/gist_id}","starred_url":"https://api.github.com/users/RayeN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RayeN/subscriptions","organizations_url":"https://api.github.com/users/RayeN/orgs","repos_url":"https://api.github.com/users/RayeN/repos","events_url":"https://api.github.com/users/RayeN/events{/privacy}","received_events_url":"https://api.github.com/users/RayeN/received_events","type":"User","site_admin":false},"body":"self -> cls","created_at":"2015-11-13T09:43:47Z","updated_at":"2015-11-13T09:43:47Z","html_url":"https://github.com/yola/teamsupport-python/pull/10#discussion_r44764858","pull_request_url":"https://api.github.com/repos/yola/teamsupport-python/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/yola/teamsupport-python/pulls/comments/44764858"},"html":{"href":"https://github.com/yola/teamsupport-python/pull/10#discussion_r44764858"},"pull_request":{"href":"https://api.github.com/repos/yola/teamsupport-python/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/yola/teamsupport-python/pulls/10","id":50527265,"html_url":"https://github.com/yola/teamsupport-python/pull/10","diff_url":"https://github.com/yola/teamsupport-python/pull/10.diff","patch_url":"https://github.com/yola/teamsupport-python/pull/10.patch","issue_url":"https://api.github.com/repos/yola/teamsupport-python/issues/10","number":10,"state":"open","locked":false,"title":"Changes required for tickets creation functionality","user":{"login":"ekoval","id":954264,"avatar_url":"https://avatars.githubusercontent.com/u/954264?v=3","gravatar_id":"","url":"https://api.github.com/users/ekoval","html_url":"https://github.com/ekoval","followers_url":"https://api.github.com/users/ekoval/followers","following_url":"https://api.github.com/users/ekoval/following{/other_user}","gists_url":"https://api.github.com/users/ekoval/gists{/gist_id}","starred_url":"https://api.github.com/users/ekoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekoval/subscriptions","organizations_url":"https://api.github.com/users/ekoval/orgs","repos_url":"https://api.github.com/users/ekoval/repos","events_url":"https://api.github.com/users/ekoval/events{/privacy}","received_events_url":"https://api.github.com/users/ekoval/received_events","type":"User","site_admin":false},"body":"Changes required for tickets creation functionality.","created_at":"2015-11-12T15:48:18Z","updated_at":"2015-11-13T09:43:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45e2f098f7ea8088f523381a29924b03c5dc20a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yola/teamsupport-python/pulls/10/commits","review_comments_url":"https://api.github.com/repos/yola/teamsupport-python/pulls/10/comments","review_comment_url":"https://api.github.com/repos/yola/teamsupport-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yola/teamsupport-python/issues/10/comments","statuses_url":"https://api.github.com/repos/yola/teamsupport-python/statuses/895e168a313c2e6049a142d84facefa29cc227d6","head":{"label":"yola:enhanced-create-ticket-functionality","ref":"enhanced-create-ticket-functionality","sha":"895e168a313c2e6049a142d84facefa29cc227d6","user":{"login":"yola","id":861497,"avatar_url":"https://avatars.githubusercontent.com/u/861497?v=3","gravatar_id":"","url":"https://api.github.com/users/yola","html_url":"https://github.com/yola","followers_url":"https://api.github.com/users/yola/followers","following_url":"https://api.github.com/users/yola/following{/other_user}","gists_url":"https://api.github.com/users/yola/gists{/gist_id}","starred_url":"https://api.github.com/users/yola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yola/subscriptions","organizations_url":"https://api.github.com/users/yola/orgs","repos_url":"https://api.github.com/users/yola/repos","events_url":"https://api.github.com/users/yola/events{/privacy}","received_events_url":"https://api.github.com/users/yola/received_events","type":"Organization","site_admin":false},"repo":{"id":40303902,"name":"teamsupport-python","full_name":"yola/teamsupport-python","owner":{"login":"yola","id":861497,"avatar_url":"https://avatars.githubusercontent.com/u/861497?v=3","gravatar_id":"","url":"https://api.github.com/users/yola","html_url":"https://github.com/yola","followers_url":"https://api.github.com/users/yola/followers","following_url":"https://api.github.com/users/yola/following{/other_user}","gists_url":"https://api.github.com/users/yola/gists{/gist_id}","starred_url":"https://api.github.com/users/yola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yola/subscriptions","organizations_url":"https://api.github.com/users/yola/orgs","repos_url":"https://api.github.com/users/yola/repos","events_url":"https://api.github.com/users/yola/events{/privacy}","received_events_url":"https://api.github.com/users/yola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yola/teamsupport-python","description":"Python library for interfacing with the TeamSupport API","fork":false,"url":"https://api.github.com/repos/yola/teamsupport-python","forks_url":"https://api.github.com/repos/yola/teamsupport-python/forks","keys_url":"https://api.github.com/repos/yola/teamsupport-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yola/teamsupport-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yola/teamsupport-python/teams","hooks_url":"https://api.github.com/repos/yola/teamsupport-python/hooks","issue_events_url":"https://api.github.com/repos/yola/teamsupport-python/issues/events{/number}","events_url":"https://api.github.com/repos/yola/teamsupport-python/events","assignees_url":"https://api.github.com/repos/yola/teamsupport-python/assignees{/user}","branches_url":"https://api.github.com/repos/yola/teamsupport-python/branches{/branch}","tags_url":"https://api.github.com/repos/yola/teamsupport-python/tags","blobs_url":"https://api.github.com/repos/yola/teamsupport-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yola/teamsupport-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yola/teamsupport-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/yola/teamsupport-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yola/teamsupport-python/statuses/{sha}","languages_url":"https://api.github.com/repos/yola/teamsupport-python/languages","stargazers_url":"https://api.github.com/repos/yola/teamsupport-python/stargazers","contributors_url":"https://api.github.com/repos/yola/teamsupport-python/contributors","subscribers_url":"https://api.github.com/repos/yola/teamsupport-python/subscribers","subscription_url":"https://api.github.com/repos/yola/teamsupport-python/subscription","commits_url":"https://api.github.com/repos/yola/teamsupport-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/yola/teamsupport-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/yola/teamsupport-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/yola/teamsupport-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/yola/teamsupport-python/contents/{+path}","compare_url":"https://api.github.com/repos/yola/teamsupport-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yola/teamsupport-python/merges","archive_url":"https://api.github.com/repos/yola/teamsupport-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yola/teamsupport-python/downloads","issues_url":"https://api.github.com/repos/yola/teamsupport-python/issues{/number}","pulls_url":"https://api.github.com/repos/yola/teamsupport-python/pulls{/number}","milestones_url":"https://api.github.com/repos/yola/teamsupport-python/milestones{/number}","notifications_url":"https://api.github.com/repos/yola/teamsupport-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yola/teamsupport-python/labels{/name}","releases_url":"https://api.github.com/repos/yola/teamsupport-python/releases{/id}","created_at":"2015-08-06T12:36:37Z","updated_at":"2015-09-21T14:41:59Z","pushed_at":"2015-11-13T09:40:45Z","git_url":"git://github.com/yola/teamsupport-python.git","ssh_url":"git@github.com:yola/teamsupport-python.git","clone_url":"https://github.com/yola/teamsupport-python.git","svn_url":"https://github.com/yola/teamsupport-python","homepage":null,"size":285,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"yola:master","ref":"master","sha":"d925304866bfba568e88bf47b3e49e70715a5dc1","user":{"login":"yola","id":861497,"avatar_url":"https://avatars.githubusercontent.com/u/861497?v=3","gravatar_id":"","url":"https://api.github.com/users/yola","html_url":"https://github.com/yola","followers_url":"https://api.github.com/users/yola/followers","following_url":"https://api.github.com/users/yola/following{/other_user}","gists_url":"https://api.github.com/users/yola/gists{/gist_id}","starred_url":"https://api.github.com/users/yola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yola/subscriptions","organizations_url":"https://api.github.com/users/yola/orgs","repos_url":"https://api.github.com/users/yola/repos","events_url":"https://api.github.com/users/yola/events{/privacy}","received_events_url":"https://api.github.com/users/yola/received_events","type":"Organization","site_admin":false},"repo":{"id":40303902,"name":"teamsupport-python","full_name":"yola/teamsupport-python","owner":{"login":"yola","id":861497,"avatar_url":"https://avatars.githubusercontent.com/u/861497?v=3","gravatar_id":"","url":"https://api.github.com/users/yola","html_url":"https://github.com/yola","followers_url":"https://api.github.com/users/yola/followers","following_url":"https://api.github.com/users/yola/following{/other_user}","gists_url":"https://api.github.com/users/yola/gists{/gist_id}","starred_url":"https://api.github.com/users/yola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yola/subscriptions","organizations_url":"https://api.github.com/users/yola/orgs","repos_url":"https://api.github.com/users/yola/repos","events_url":"https://api.github.com/users/yola/events{/privacy}","received_events_url":"https://api.github.com/users/yola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yola/teamsupport-python","description":"Python library for interfacing with the TeamSupport API","fork":false,"url":"https://api.github.com/repos/yola/teamsupport-python","forks_url":"https://api.github.com/repos/yola/teamsupport-python/forks","keys_url":"https://api.github.com/repos/yola/teamsupport-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yola/teamsupport-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yola/teamsupport-python/teams","hooks_url":"https://api.github.com/repos/yola/teamsupport-python/hooks","issue_events_url":"https://api.github.com/repos/yola/teamsupport-python/issues/events{/number}","events_url":"https://api.github.com/repos/yola/teamsupport-python/events","assignees_url":"https://api.github.com/repos/yola/teamsupport-python/assignees{/user}","branches_url":"https://api.github.com/repos/yola/teamsupport-python/branches{/branch}","tags_url":"https://api.github.com/repos/yola/teamsupport-python/tags","blobs_url":"https://api.github.com/repos/yola/teamsupport-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yola/teamsupport-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yola/teamsupport-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/yola/teamsupport-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yola/teamsupport-python/statuses/{sha}","languages_url":"https://api.github.com/repos/yola/teamsupport-python/languages","stargazers_url":"https://api.github.com/repos/yola/teamsupport-python/stargazers","contributors_url":"https://api.github.com/repos/yola/teamsupport-python/contributors","subscribers_url":"https://api.github.com/repos/yola/teamsupport-python/subscribers","subscription_url":"https://api.github.com/repos/yola/teamsupport-python/subscription","commits_url":"https://api.github.com/repos/yola/teamsupport-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/yola/teamsupport-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/yola/teamsupport-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/yola/teamsupport-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/yola/teamsupport-python/contents/{+path}","compare_url":"https://api.github.com/repos/yola/teamsupport-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yola/teamsupport-python/merges","archive_url":"https://api.github.com/repos/yola/teamsupport-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yola/teamsupport-python/downloads","issues_url":"https://api.github.com/repos/yola/teamsupport-python/issues{/number}","pulls_url":"https://api.github.com/repos/yola/teamsupport-python/pulls{/number}","milestones_url":"https://api.github.com/repos/yola/teamsupport-python/milestones{/number}","notifications_url":"https://api.github.com/repos/yola/teamsupport-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yola/teamsupport-python/labels{/name}","releases_url":"https://api.github.com/repos/yola/teamsupport-python/releases{/id}","created_at":"2015-08-06T12:36:37Z","updated_at":"2015-09-21T14:41:59Z","pushed_at":"2015-11-13T09:40:45Z","git_url":"git://github.com/yola/teamsupport-python.git","ssh_url":"git@github.com:yola/teamsupport-python.git","clone_url":"https://github.com/yola/teamsupport-python.git","svn_url":"https://github.com/yola/teamsupport-python","homepage":null,"size":285,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yola/teamsupport-python/pulls/10"},"html":{"href":"https://github.com/yola/teamsupport-python/pull/10"},"issue":{"href":"https://api.github.com/repos/yola/teamsupport-python/issues/10"},"comments":{"href":"https://api.github.com/repos/yola/teamsupport-python/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/yola/teamsupport-python/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/yola/teamsupport-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yola/teamsupport-python/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/yola/teamsupport-python/statuses/895e168a313c2e6049a142d84facefa29cc227d6"}}}}