{"action":"created","comment":{"url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/comments/70182292","id":70182292,"diff_hunk":"@@ -3,20 +3,67 @@ import RequestKit\n \n // MARK: model\n @objc public class User: NSObject {\n-    public let id: Int\n+    public var name: String?\n     public var login: String?\n+    public let id: Int\n+    public var state: String?\n+    public var avatarURL: NSURL?\n+    public var webURL: NSURL?\n+    public var createdAt: NSDate?\n+    public var isAdmin: Bool?\n     public var bio: String?\n-    public var name: String?\n+    public var location: String?\n+    public var skype: String?\n+    public var linkedin: String?\n+    public var twitter: String?\n+    public var websiteURL: NSURL?\n+    public var lastSignInAt: NSDate?\n+    public var confirmedAt: NSDate?\n     public var email: String?\n+    public var themeId: Int?\n+    public var colorSchemeId: Int?\n+    public var projectsLimit: Int?\n+    public var currentSignInAt: NSDate?\n+    public var canCreateGroup: Bool?\n+    public var canCreateProject: Bool?\n+    public var twoFactorEnabled: Bool?\n+    public var external: Bool?\n     public var privateToken: String?\n \n     public init(_ json: [String: AnyObject]) {\n         if let id = json[\"id\"] as? Int {\n-            self.id = id\n+            name = json[\"name\"] as? String\n             login = json[\"username\"] as? String\n+            self.id = id\n+            state = json[\"state\"] as? String\n+            if let urlString = json[\"avatar_url\"] as? String, url = NSURL(string: urlString) {\n+                avatarURL = url\n+            }\n+            if let urlString = json[\"web_url\"] as? String, url = NSURL(string: urlString) {\n+                webURL = url\n+            }\n+            createdAt = Time.rfc3339Date(json[\"created_at\"] as? String)\n+            isAdmin = json[\"is_admin\"] as? Bool\n             bio = json[\"bio\"] as? String\n-            name = json[\"name\"] as? String\n+            location = json[\"location\"] as? String\n+            skype = json[\"skype\"] as? String\n+            linkedin = json[\"linkedin\"] as? String\n+            twitter = json[\"twitter\"] as? String\n+            if let urlString = json[\"website_url\"] as? String, url = NSURL(string: urlString) {\n+                websiteURL = url\n+            }\n+            lastSignInAt = Time.rfc3339Date(json[\"last_sign_in_at\"] as? String)\n+            print(lastSignInAt)","path":"TanukiKit/User.swift","position":58,"original_position":58,"commit_id":"307f9680232a8fdbb4edcd9af625a4a63921cb30","original_commit_id":"307f9680232a8fdbb4edcd9af625a4a63921cb30","user":{"login":"pietbrauer","id":759730,"avatar_url":"https://avatars.githubusercontent.com/u/759730?v=3","gravatar_id":"","url":"https://api.github.com/users/pietbrauer","html_url":"https://github.com/pietbrauer","followers_url":"https://api.github.com/users/pietbrauer/followers","following_url":"https://api.github.com/users/pietbrauer/following{/other_user}","gists_url":"https://api.github.com/users/pietbrauer/gists{/gist_id}","starred_url":"https://api.github.com/users/pietbrauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietbrauer/subscriptions","organizations_url":"https://api.github.com/users/pietbrauer/orgs","repos_url":"https://api.github.com/users/pietbrauer/repos","events_url":"https://api.github.com/users/pietbrauer/events{/privacy}","received_events_url":"https://api.github.com/users/pietbrauer/received_events","type":"User","site_admin":false},"body":"Can you remove the print? Don't know when that slipped in, sorry for missing it.","created_at":"2016-07-10T13:55:36Z","updated_at":"2016-07-10T13:55:36Z","html_url":"https://github.com/nerdishbynature/TanukiKit/pull/20#discussion_r70182292","pull_request_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/comments/70182292"},"html":{"href":"https://github.com/nerdishbynature/TanukiKit/pull/20#discussion_r70182292"},"pull_request":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20","id":75494372,"html_url":"https://github.com/nerdishbynature/TanukiKit/pull/20","diff_url":"https://github.com/nerdishbynature/TanukiKit/pull/20.diff","patch_url":"https://github.com/nerdishbynature/TanukiKit/pull/20.patch","issue_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues/20","number":20,"state":"open","locked":false,"title":"User Request Improvements","user":{"login":"tiferrei","id":8849915,"avatar_url":"https://avatars.githubusercontent.com/u/8849915?v=3","gravatar_id":"","url":"https://api.github.com/users/tiferrei","html_url":"https://github.com/tiferrei","followers_url":"https://api.github.com/users/tiferrei/followers","following_url":"https://api.github.com/users/tiferrei/following{/other_user}","gists_url":"https://api.github.com/users/tiferrei/gists{/gist_id}","starred_url":"https://api.github.com/users/tiferrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiferrei/subscriptions","organizations_url":"https://api.github.com/users/tiferrei/orgs","repos_url":"https://api.github.com/users/tiferrei/repos","events_url":"https://api.github.com/users/tiferrei/events{/privacy}","received_events_url":"https://api.github.com/users/tiferrei/received_events","type":"User","site_admin":false},"body":"Clean-up of #19 ","created_at":"2016-06-28T15:08:02Z","updated_at":"2016-07-10T13:55:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f412ef1e3e7e57fd8a4cfa5b22ebcdde0fe08e9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20/commits","review_comments_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20/comments","review_comment_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues/20/comments","statuses_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/statuses/307f9680232a8fdbb4edcd9af625a4a63921cb30","head":{"label":"tiferrei:feature/User","ref":"feature/User","sha":"307f9680232a8fdbb4edcd9af625a4a63921cb30","user":{"login":"tiferrei","id":8849915,"avatar_url":"https://avatars.githubusercontent.com/u/8849915?v=3","gravatar_id":"","url":"https://api.github.com/users/tiferrei","html_url":"https://github.com/tiferrei","followers_url":"https://api.github.com/users/tiferrei/followers","following_url":"https://api.github.com/users/tiferrei/following{/other_user}","gists_url":"https://api.github.com/users/tiferrei/gists{/gist_id}","starred_url":"https://api.github.com/users/tiferrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiferrei/subscriptions","organizations_url":"https://api.github.com/users/tiferrei/orgs","repos_url":"https://api.github.com/users/tiferrei/repos","events_url":"https://api.github.com/users/tiferrei/events{/privacy}","received_events_url":"https://api.github.com/users/tiferrei/received_events","type":"User","site_admin":false},"repo":{"id":60419968,"name":"TanukiKit","full_name":"tiferrei/TanukiKit","owner":{"login":"tiferrei","id":8849915,"avatar_url":"https://avatars.githubusercontent.com/u/8849915?v=3","gravatar_id":"","url":"https://api.github.com/users/tiferrei","html_url":"https://github.com/tiferrei","followers_url":"https://api.github.com/users/tiferrei/followers","following_url":"https://api.github.com/users/tiferrei/following{/other_user}","gists_url":"https://api.github.com/users/tiferrei/gists{/gist_id}","starred_url":"https://api.github.com/users/tiferrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiferrei/subscriptions","organizations_url":"https://api.github.com/users/tiferrei/orgs","repos_url":"https://api.github.com/users/tiferrei/repos","events_url":"https://api.github.com/users/tiferrei/events{/privacy}","received_events_url":"https://api.github.com/users/tiferrei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiferrei/TanukiKit","description":"A Swift API Client for GitLab.com, GitLab CE and GitLab EE","fork":true,"url":"https://api.github.com/repos/tiferrei/TanukiKit","forks_url":"https://api.github.com/repos/tiferrei/TanukiKit/forks","keys_url":"https://api.github.com/repos/tiferrei/TanukiKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiferrei/TanukiKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiferrei/TanukiKit/teams","hooks_url":"https://api.github.com/repos/tiferrei/TanukiKit/hooks","issue_events_url":"https://api.github.com/repos/tiferrei/TanukiKit/issues/events{/number}","events_url":"https://api.github.com/repos/tiferrei/TanukiKit/events","assignees_url":"https://api.github.com/repos/tiferrei/TanukiKit/assignees{/user}","branches_url":"https://api.github.com/repos/tiferrei/TanukiKit/branches{/branch}","tags_url":"https://api.github.com/repos/tiferrei/TanukiKit/tags","blobs_url":"https://api.github.com/repos/tiferrei/TanukiKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiferrei/TanukiKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiferrei/TanukiKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiferrei/TanukiKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiferrei/TanukiKit/statuses/{sha}","languages_url":"https://api.github.com/repos/tiferrei/TanukiKit/languages","stargazers_url":"https://api.github.com/repos/tiferrei/TanukiKit/stargazers","contributors_url":"https://api.github.com/repos/tiferrei/TanukiKit/contributors","subscribers_url":"https://api.github.com/repos/tiferrei/TanukiKit/subscribers","subscription_url":"https://api.github.com/repos/tiferrei/TanukiKit/subscription","commits_url":"https://api.github.com/repos/tiferrei/TanukiKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiferrei/TanukiKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiferrei/TanukiKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiferrei/TanukiKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiferrei/TanukiKit/contents/{+path}","compare_url":"https://api.github.com/repos/tiferrei/TanukiKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiferrei/TanukiKit/merges","archive_url":"https://api.github.com/repos/tiferrei/TanukiKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiferrei/TanukiKit/downloads","issues_url":"https://api.github.com/repos/tiferrei/TanukiKit/issues{/number}","pulls_url":"https://api.github.com/repos/tiferrei/TanukiKit/pulls{/number}","milestones_url":"https://api.github.com/repos/tiferrei/TanukiKit/milestones{/number}","notifications_url":"https://api.github.com/repos/tiferrei/TanukiKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiferrei/TanukiKit/labels{/name}","releases_url":"https://api.github.com/repos/tiferrei/TanukiKit/releases{/id}","deployments_url":"https://api.github.com/repos/tiferrei/TanukiKit/deployments","created_at":"2016-06-04T16:38:34Z","updated_at":"2016-06-13T16:39:41Z","pushed_at":"2016-07-08T21:25:41Z","git_url":"git://github.com/tiferrei/TanukiKit.git","ssh_url":"git@github.com:tiferrei/TanukiKit.git","clone_url":"https://github.com/tiferrei/TanukiKit.git","svn_url":"https://github.com/tiferrei/TanukiKit","homepage":null,"size":67,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"nerdishbynature:master","ref":"master","sha":"88d8765f066294390d9d6269f1253d1677a28318","user":{"login":"nerdishbynature","id":6136721,"avatar_url":"https://avatars.githubusercontent.com/u/6136721?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdishbynature","html_url":"https://github.com/nerdishbynature","followers_url":"https://api.github.com/users/nerdishbynature/followers","following_url":"https://api.github.com/users/nerdishbynature/following{/other_user}","gists_url":"https://api.github.com/users/nerdishbynature/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdishbynature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdishbynature/subscriptions","organizations_url":"https://api.github.com/users/nerdishbynature/orgs","repos_url":"https://api.github.com/users/nerdishbynature/repos","events_url":"https://api.github.com/users/nerdishbynature/events{/privacy}","received_events_url":"https://api.github.com/users/nerdishbynature/received_events","type":"Organization","site_admin":false},"repo":{"id":47253509,"name":"TanukiKit","full_name":"nerdishbynature/TanukiKit","owner":{"login":"nerdishbynature","id":6136721,"avatar_url":"https://avatars.githubusercontent.com/u/6136721?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdishbynature","html_url":"https://github.com/nerdishbynature","followers_url":"https://api.github.com/users/nerdishbynature/followers","following_url":"https://api.github.com/users/nerdishbynature/following{/other_user}","gists_url":"https://api.github.com/users/nerdishbynature/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdishbynature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdishbynature/subscriptions","organizations_url":"https://api.github.com/users/nerdishbynature/orgs","repos_url":"https://api.github.com/users/nerdishbynature/repos","events_url":"https://api.github.com/users/nerdishbynature/events{/privacy}","received_events_url":"https://api.github.com/users/nerdishbynature/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nerdishbynature/TanukiKit","description":"A Swift API Client for GitLab.com, GitLab CE and GitLab EE","fork":false,"url":"https://api.github.com/repos/nerdishbynature/TanukiKit","forks_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/forks","keys_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/teams","hooks_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/hooks","issue_events_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues/events{/number}","events_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/events","assignees_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/assignees{/user}","branches_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/branches{/branch}","tags_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/tags","blobs_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/statuses/{sha}","languages_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/languages","stargazers_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/stargazers","contributors_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/contributors","subscribers_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/subscribers","subscription_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/subscription","commits_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/contents/{+path}","compare_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/merges","archive_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/downloads","issues_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues{/number}","pulls_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls{/number}","milestones_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/milestones{/number}","notifications_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/labels{/name}","releases_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/releases{/id}","deployments_url":"https://api.github.com/repos/nerdishbynature/TanukiKit/deployments","created_at":"2015-12-02T10:19:06Z","updated_at":"2016-06-25T09:49:36Z","pushed_at":"2016-07-08T21:25:41Z","git_url":"git://github.com/nerdishbynature/TanukiKit.git","ssh_url":"git@github.com:nerdishbynature/TanukiKit.git","clone_url":"https://github.com/nerdishbynature/TanukiKit.git","svn_url":"https://github.com/nerdishbynature/TanukiKit","homepage":null,"size":86,"stargazers_count":15,"watchers_count":15,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20"},"html":{"href":"https://github.com/nerdishbynature/TanukiKit/pull/20"},"issue":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues/20"},"comments":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/nerdishbynature/TanukiKit/statuses/307f9680232a8fdbb4edcd9af625a4a63921cb30"}}}}
{"actor":{"display_login":"pietbrauer"}}