{"action":"created","comment":{"url":"https://api.github.com/repos/HanaLucky/KPTer/pulls/comments/57444961","id":57444961,"diff_hunk":"@@ -12,8 +12,11 @@ import RealmSwift\n \n class CardRelation: Object {\n     \n-    dynamic var relation_id = 0\n+    dynamic var id: String = NSUUID().UUIDString","path":"KPTer/CardRelation.swift","position":5,"original_position":5,"commit_id":"e8450b2055f58191a9fb739fc193aaf9a1d21a9c","original_commit_id":"e8450b2055f58191a9fb739fc193aaf9a1d21a9c","user":{"login":"luckyriver0","id":16001636,"avatar_url":"https://avatars.githubusercontent.com/u/16001636?v=3","gravatar_id":"","url":"https://api.github.com/users/luckyriver0","html_url":"https://github.com/luckyriver0","followers_url":"https://api.github.com/users/luckyriver0/followers","following_url":"https://api.github.com/users/luckyriver0/following{/other_user}","gists_url":"https://api.github.com/users/luckyriver0/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyriver0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyriver0/subscriptions","organizations_url":"https://api.github.com/users/luckyriver0/orgs","repos_url":"https://api.github.com/users/luckyriver0/repos","events_url":"https://api.github.com/users/luckyriver0/events{/privacy}","received_events_url":"https://api.github.com/users/luckyriver0/received_events","type":"User","site_admin":false},"body":"from_id, to_idのstringでの初期化は[issue #25](https://github.com/HanaLucky/KPTer/issues/25)でやるイメージであってる？\r\n","created_at":"2016-03-25T13:48:57Z","updated_at":"2016-03-25T13:48:57Z","html_url":"https://github.com/HanaLucky/KPTer/pull/39#discussion_r57444961","pull_request_url":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/HanaLucky/KPTer/pulls/comments/57444961"},"html":{"href":"https://github.com/HanaLucky/KPTer/pull/39#discussion_r57444961"},"pull_request":{"href":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39","id":64158252,"html_url":"https://github.com/HanaLucky/KPTer/pull/39","diff_url":"https://github.com/HanaLucky/KPTer/pull/39.diff","patch_url":"https://github.com/HanaLucky/KPTer/pull/39.patch","issue_url":"https://api.github.com/repos/HanaLucky/KPTer/issues/39","number":39,"state":"open","locked":false,"title":"auto increment的なものを実装しました close #30","user":{"login":"hanaori","id":7506598,"avatar_url":"https://avatars.githubusercontent.com/u/7506598?v=3","gravatar_id":"","url":"https://api.github.com/users/hanaori","html_url":"https://github.com/hanaori","followers_url":"https://api.github.com/users/hanaori/followers","following_url":"https://api.github.com/users/hanaori/following{/other_user}","gists_url":"https://api.github.com/users/hanaori/gists{/gist_id}","starred_url":"https://api.github.com/users/hanaori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanaori/subscriptions","organizations_url":"https://api.github.com/users/hanaori/orgs","repos_url":"https://api.github.com/users/hanaori/repos","events_url":"https://api.github.com/users/hanaori/events{/privacy}","received_events_url":"https://api.github.com/users/hanaori/received_events","type":"User","site_admin":false},"body":"プロパティのデフォルト値にNSUUID().UUIDStringを設定。\r\n\r\n参考資料：\r\nhttp://qiita.com/kotala_b/items/68b9608df6c8bac80f67","created_at":"2016-03-25T12:33:44Z","updated_at":"2016-03-25T13:48:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1488e2c6d161e346eb1053cfbdc6fd83d69a5b2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39/commits","review_comments_url":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39/comments","review_comment_url":"https://api.github.com/repos/HanaLucky/KPTer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HanaLucky/KPTer/issues/39/comments","statuses_url":"https://api.github.com/repos/HanaLucky/KPTer/statuses/e8450b2055f58191a9fb739fc193aaf9a1d21a9c","head":{"label":"HanaLucky:feature/issue30_increment_auto_increment","ref":"feature/issue30_increment_auto_increment","sha":"e8450b2055f58191a9fb739fc193aaf9a1d21a9c","user":{"login":"HanaLucky","id":17215293,"avatar_url":"https://avatars.githubusercontent.com/u/17215293?v=3","gravatar_id":"","url":"https://api.github.com/users/HanaLucky","html_url":"https://github.com/HanaLucky","followers_url":"https://api.github.com/users/HanaLucky/followers","following_url":"https://api.github.com/users/HanaLucky/following{/other_user}","gists_url":"https://api.github.com/users/HanaLucky/gists{/gist_id}","starred_url":"https://api.github.com/users/HanaLucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanaLucky/subscriptions","organizations_url":"https://api.github.com/users/HanaLucky/orgs","repos_url":"https://api.github.com/users/HanaLucky/repos","events_url":"https://api.github.com/users/HanaLucky/events{/privacy}","received_events_url":"https://api.github.com/users/HanaLucky/received_events","type":"Organization","site_admin":false},"repo":{"id":51640027,"name":"KPTer","full_name":"HanaLucky/KPTer","owner":{"login":"HanaLucky","id":17215293,"avatar_url":"https://avatars.githubusercontent.com/u/17215293?v=3","gravatar_id":"","url":"https://api.github.com/users/HanaLucky","html_url":"https://github.com/HanaLucky","followers_url":"https://api.github.com/users/HanaLucky/followers","following_url":"https://api.github.com/users/HanaLucky/following{/other_user}","gists_url":"https://api.github.com/users/HanaLucky/gists{/gist_id}","starred_url":"https://api.github.com/users/HanaLucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanaLucky/subscriptions","organizations_url":"https://api.github.com/users/HanaLucky/orgs","repos_url":"https://api.github.com/users/HanaLucky/repos","events_url":"https://api.github.com/users/HanaLucky/events{/privacy}","received_events_url":"https://api.github.com/users/HanaLucky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HanaLucky/KPTer","description":"iOS application for doing KPT","fork":false,"url":"https://api.github.com/repos/HanaLucky/KPTer","forks_url":"https://api.github.com/repos/HanaLucky/KPTer/forks","keys_url":"https://api.github.com/repos/HanaLucky/KPTer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HanaLucky/KPTer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HanaLucky/KPTer/teams","hooks_url":"https://api.github.com/repos/HanaLucky/KPTer/hooks","issue_events_url":"https://api.github.com/repos/HanaLucky/KPTer/issues/events{/number}","events_url":"https://api.github.com/repos/HanaLucky/KPTer/events","assignees_url":"https://api.github.com/repos/HanaLucky/KPTer/assignees{/user}","branches_url":"https://api.github.com/repos/HanaLucky/KPTer/branches{/branch}","tags_url":"https://api.github.com/repos/HanaLucky/KPTer/tags","blobs_url":"https://api.github.com/repos/HanaLucky/KPTer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HanaLucky/KPTer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HanaLucky/KPTer/git/refs{/sha}","trees_url":"https://api.github.com/repos/HanaLucky/KPTer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HanaLucky/KPTer/statuses/{sha}","languages_url":"https://api.github.com/repos/HanaLucky/KPTer/languages","stargazers_url":"https://api.github.com/repos/HanaLucky/KPTer/stargazers","contributors_url":"https://api.github.com/repos/HanaLucky/KPTer/contributors","subscribers_url":"https://api.github.com/repos/HanaLucky/KPTer/subscribers","subscription_url":"https://api.github.com/repos/HanaLucky/KPTer/subscription","commits_url":"https://api.github.com/repos/HanaLucky/KPTer/commits{/sha}","git_commits_url":"https://api.github.com/repos/HanaLucky/KPTer/git/commits{/sha}","comments_url":"https://api.github.com/repos/HanaLucky/KPTer/comments{/number}","issue_comment_url":"https://api.github.com/repos/HanaLucky/KPTer/issues/comments{/number}","contents_url":"https://api.github.com/repos/HanaLucky/KPTer/contents/{+path}","compare_url":"https://api.github.com/repos/HanaLucky/KPTer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HanaLucky/KPTer/merges","archive_url":"https://api.github.com/repos/HanaLucky/KPTer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HanaLucky/KPTer/downloads","issues_url":"https://api.github.com/repos/HanaLucky/KPTer/issues{/number}","pulls_url":"https://api.github.com/repos/HanaLucky/KPTer/pulls{/number}","milestones_url":"https://api.github.com/repos/HanaLucky/KPTer/milestones{/number}","notifications_url":"https://api.github.com/repos/HanaLucky/KPTer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HanaLucky/KPTer/labels{/name}","releases_url":"https://api.github.com/repos/HanaLucky/KPTer/releases{/id}","deployments_url":"https://api.github.com/repos/HanaLucky/KPTer/deployments","created_at":"2016-02-13T09:38:00Z","updated_at":"2016-03-13T10:27:31Z","pushed_at":"2016-03-25T12:33:44Z","git_url":"git://github.com/HanaLucky/KPTer.git","ssh_url":"git@github.com:HanaLucky/KPTer.git","clone_url":"https://github.com/HanaLucky/KPTer.git","svn_url":"https://github.com/HanaLucky/KPTer","homepage":"","size":55,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"HanaLucky:master","ref":"master","sha":"ac47ae1333454f8533bda4b29da9c5778218f19d","user":{"login":"HanaLucky","id":17215293,"avatar_url":"https://avatars.githubusercontent.com/u/17215293?v=3","gravatar_id":"","url":"https://api.github.com/users/HanaLucky","html_url":"https://github.com/HanaLucky","followers_url":"https://api.github.com/users/HanaLucky/followers","following_url":"https://api.github.com/users/HanaLucky/following{/other_user}","gists_url":"https://api.github.com/users/HanaLucky/gists{/gist_id}","starred_url":"https://api.github.com/users/HanaLucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanaLucky/subscriptions","organizations_url":"https://api.github.com/users/HanaLucky/orgs","repos_url":"https://api.github.com/users/HanaLucky/repos","events_url":"https://api.github.com/users/HanaLucky/events{/privacy}","received_events_url":"https://api.github.com/users/HanaLucky/received_events","type":"Organization","site_admin":false},"repo":{"id":51640027,"name":"KPTer","full_name":"HanaLucky/KPTer","owner":{"login":"HanaLucky","id":17215293,"avatar_url":"https://avatars.githubusercontent.com/u/17215293?v=3","gravatar_id":"","url":"https://api.github.com/users/HanaLucky","html_url":"https://github.com/HanaLucky","followers_url":"https://api.github.com/users/HanaLucky/followers","following_url":"https://api.github.com/users/HanaLucky/following{/other_user}","gists_url":"https://api.github.com/users/HanaLucky/gists{/gist_id}","starred_url":"https://api.github.com/users/HanaLucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanaLucky/subscriptions","organizations_url":"https://api.github.com/users/HanaLucky/orgs","repos_url":"https://api.github.com/users/HanaLucky/repos","events_url":"https://api.github.com/users/HanaLucky/events{/privacy}","received_events_url":"https://api.github.com/users/HanaLucky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HanaLucky/KPTer","description":"iOS application for doing KPT","fork":false,"url":"https://api.github.com/repos/HanaLucky/KPTer","forks_url":"https://api.github.com/repos/HanaLucky/KPTer/forks","keys_url":"https://api.github.com/repos/HanaLucky/KPTer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HanaLucky/KPTer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HanaLucky/KPTer/teams","hooks_url":"https://api.github.com/repos/HanaLucky/KPTer/hooks","issue_events_url":"https://api.github.com/repos/HanaLucky/KPTer/issues/events{/number}","events_url":"https://api.github.com/repos/HanaLucky/KPTer/events","assignees_url":"https://api.github.com/repos/HanaLucky/KPTer/assignees{/user}","branches_url":"https://api.github.com/repos/HanaLucky/KPTer/branches{/branch}","tags_url":"https://api.github.com/repos/HanaLucky/KPTer/tags","blobs_url":"https://api.github.com/repos/HanaLucky/KPTer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HanaLucky/KPTer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HanaLucky/KPTer/git/refs{/sha}","trees_url":"https://api.github.com/repos/HanaLucky/KPTer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HanaLucky/KPTer/statuses/{sha}","languages_url":"https://api.github.com/repos/HanaLucky/KPTer/languages","stargazers_url":"https://api.github.com/repos/HanaLucky/KPTer/stargazers","contributors_url":"https://api.github.com/repos/HanaLucky/KPTer/contributors","subscribers_url":"https://api.github.com/repos/HanaLucky/KPTer/subscribers","subscription_url":"https://api.github.com/repos/HanaLucky/KPTer/subscription","commits_url":"https://api.github.com/repos/HanaLucky/KPTer/commits{/sha}","git_commits_url":"https://api.github.com/repos/HanaLucky/KPTer/git/commits{/sha}","comments_url":"https://api.github.com/repos/HanaLucky/KPTer/comments{/number}","issue_comment_url":"https://api.github.com/repos/HanaLucky/KPTer/issues/comments{/number}","contents_url":"https://api.github.com/repos/HanaLucky/KPTer/contents/{+path}","compare_url":"https://api.github.com/repos/HanaLucky/KPTer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HanaLucky/KPTer/merges","archive_url":"https://api.github.com/repos/HanaLucky/KPTer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HanaLucky/KPTer/downloads","issues_url":"https://api.github.com/repos/HanaLucky/KPTer/issues{/number}","pulls_url":"https://api.github.com/repos/HanaLucky/KPTer/pulls{/number}","milestones_url":"https://api.github.com/repos/HanaLucky/KPTer/milestones{/number}","notifications_url":"https://api.github.com/repos/HanaLucky/KPTer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HanaLucky/KPTer/labels{/name}","releases_url":"https://api.github.com/repos/HanaLucky/KPTer/releases{/id}","deployments_url":"https://api.github.com/repos/HanaLucky/KPTer/deployments","created_at":"2016-02-13T09:38:00Z","updated_at":"2016-03-13T10:27:31Z","pushed_at":"2016-03-25T12:33:44Z","git_url":"git://github.com/HanaLucky/KPTer.git","ssh_url":"git@github.com:HanaLucky/KPTer.git","clone_url":"https://github.com/HanaLucky/KPTer.git","svn_url":"https://github.com/HanaLucky/KPTer","homepage":"","size":55,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39"},"html":{"href":"https://github.com/HanaLucky/KPTer/pull/39"},"issue":{"href":"https://api.github.com/repos/HanaLucky/KPTer/issues/39"},"comments":{"href":"https://api.github.com/repos/HanaLucky/KPTer/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/HanaLucky/KPTer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HanaLucky/KPTer/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/HanaLucky/KPTer/statuses/e8450b2055f58191a9fb739fc193aaf9a1d21a9c"}}}}