{"action":"created","comment":{"url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/comments/167214727","pull_request_review_id":95402903,"id":167214727,"diff_hunk":"@@ -0,0 +1,27 @@\n+package sample.kanda.mvvm.home\n+\n+import sample.kanda.domain.Contact\n+\n+/**\n+ * Created by jcosilva on 2/7/2018.\n+ */\n+\n+data class ContactPresentation(val companyName: String, val propertyName: String)\n+\n+fun ContactPresentation.getInitials(): String {\n+    return propertyName\n+            .split(\" \")","path":"app/src/main/java/sample/kanda/mvvm/home/Model.kt","position":13,"original_position":13,"commit_id":"a7a645f9c5efedd10e0da4c5874a8b375930bec6","original_commit_id":"a7a645f9c5efedd10e0da4c5874a8b375930bec6","user":{"login":"ubiratansoares","id":484670,"avatar_url":"https://avatars1.githubusercontent.com/u/484670?v=4","gravatar_id":"","url":"https://api.github.com/users/ubiratansoares","html_url":"https://github.com/ubiratansoares","followers_url":"https://api.github.com/users/ubiratansoares/followers","following_url":"https://api.github.com/users/ubiratansoares/following{/other_user}","gists_url":"https://api.github.com/users/ubiratansoares/gists{/gist_id}","starred_url":"https://api.github.com/users/ubiratansoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubiratansoares/subscriptions","organizations_url":"https://api.github.com/users/ubiratansoares/orgs","repos_url":"https://api.github.com/users/ubiratansoares/repos","events_url":"https://api.github.com/users/ubiratansoares/events{/privacy}","received_events_url":"https://api.github.com/users/ubiratansoares/received_events","type":"User","site_admin":false},"body":"Pq o método para extrair as iniciais é uma extension em cima de uma dataclass ao invés de um colaborador de `HomeViewModel`? Qual seria a vantagem?","created_at":"2018-02-09T12:26:03Z","updated_at":"2018-02-09T12:30:25Z","html_url":"https://github.com/jcaiqueoliveira/sample-mvvm/pull/3#discussion_r167214727","pull_request_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/comments/167214727"},"html":{"href":"https://github.com/jcaiqueoliveira/sample-mvvm/pull/3#discussion_r167214727"},"pull_request":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3","id":168079188,"html_url":"https://github.com/jcaiqueoliveira/sample-mvvm/pull/3","diff_url":"https://github.com/jcaiqueoliveira/sample-mvvm/pull/3.diff","patch_url":"https://github.com/jcaiqueoliveira/sample-mvvm/pull/3.patch","issue_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/3","number":3,"state":"open","locked":false,"title":"Step3","user":{"login":"jcaiqueoliveira","id":5406701,"avatar_url":"https://avatars2.githubusercontent.com/u/5406701?v=4","gravatar_id":"","url":"https://api.github.com/users/jcaiqueoliveira","html_url":"https://github.com/jcaiqueoliveira","followers_url":"https://api.github.com/users/jcaiqueoliveira/followers","following_url":"https://api.github.com/users/jcaiqueoliveira/following{/other_user}","gists_url":"https://api.github.com/users/jcaiqueoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaiqueoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaiqueoliveira/subscriptions","organizations_url":"https://api.github.com/users/jcaiqueoliveira/orgs","repos_url":"https://api.github.com/users/jcaiqueoliveira/repos","events_url":"https://api.github.com/users/jcaiqueoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/jcaiqueoliveira/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-08T20:30:41Z","updated_at":"2018-02-09T12:30:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"447eee80cd9c2b96d80c05c1b97cd752fdc05694","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/3/comments","statuses_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/statuses/a7a645f9c5efedd10e0da4c5874a8b375930bec6","head":{"label":"jcaiqueoliveira:step3","ref":"step3","sha":"a7a645f9c5efedd10e0da4c5874a8b375930bec6","user":{"login":"jcaiqueoliveira","id":5406701,"avatar_url":"https://avatars2.githubusercontent.com/u/5406701?v=4","gravatar_id":"","url":"https://api.github.com/users/jcaiqueoliveira","html_url":"https://github.com/jcaiqueoliveira","followers_url":"https://api.github.com/users/jcaiqueoliveira/followers","following_url":"https://api.github.com/users/jcaiqueoliveira/following{/other_user}","gists_url":"https://api.github.com/users/jcaiqueoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaiqueoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaiqueoliveira/subscriptions","organizations_url":"https://api.github.com/users/jcaiqueoliveira/orgs","repos_url":"https://api.github.com/users/jcaiqueoliveira/repos","events_url":"https://api.github.com/users/jcaiqueoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/jcaiqueoliveira/received_events","type":"User","site_admin":false},"repo":{"id":120309199,"name":"sample-mvvm","full_name":"jcaiqueoliveira/sample-mvvm","owner":{"login":"jcaiqueoliveira","id":5406701,"avatar_url":"https://avatars2.githubusercontent.com/u/5406701?v=4","gravatar_id":"","url":"https://api.github.com/users/jcaiqueoliveira","html_url":"https://github.com/jcaiqueoliveira","followers_url":"https://api.github.com/users/jcaiqueoliveira/followers","following_url":"https://api.github.com/users/jcaiqueoliveira/following{/other_user}","gists_url":"https://api.github.com/users/jcaiqueoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaiqueoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaiqueoliveira/subscriptions","organizations_url":"https://api.github.com/users/jcaiqueoliveira/orgs","repos_url":"https://api.github.com/users/jcaiqueoliveira/repos","events_url":"https://api.github.com/users/jcaiqueoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/jcaiqueoliveira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcaiqueoliveira/sample-mvvm","description":"Just a repository to apply some concepts of mvvm","fork":false,"url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm","forks_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/forks","keys_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/teams","hooks_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/hooks","issue_events_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/events{/number}","events_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/events","assignees_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/assignees{/user}","branches_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/branches{/branch}","tags_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/tags","blobs_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/statuses/{sha}","languages_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/languages","stargazers_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/stargazers","contributors_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/contributors","subscribers_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/subscribers","subscription_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/subscription","commits_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/contents/{+path}","compare_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/merges","archive_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/downloads","issues_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues{/number}","pulls_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls{/number}","milestones_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/milestones{/number}","notifications_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/labels{/name}","releases_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/releases{/id}","deployments_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/deployments","created_at":"2018-02-05T13:35:28Z","updated_at":"2018-02-05T13:38:54Z","pushed_at":"2018-02-08T20:30:41Z","git_url":"git://github.com/jcaiqueoliveira/sample-mvvm.git","ssh_url":"git@github.com:jcaiqueoliveira/sample-mvvm.git","clone_url":"https://github.com/jcaiqueoliveira/sample-mvvm.git","svn_url":"https://github.com/jcaiqueoliveira/sample-mvvm","homepage":null,"size":182,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jcaiqueoliveira:master","ref":"master","sha":"fbb683a723e4259769b6ee0ecb8be156f9cd8a28","user":{"login":"jcaiqueoliveira","id":5406701,"avatar_url":"https://avatars2.githubusercontent.com/u/5406701?v=4","gravatar_id":"","url":"https://api.github.com/users/jcaiqueoliveira","html_url":"https://github.com/jcaiqueoliveira","followers_url":"https://api.github.com/users/jcaiqueoliveira/followers","following_url":"https://api.github.com/users/jcaiqueoliveira/following{/other_user}","gists_url":"https://api.github.com/users/jcaiqueoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaiqueoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaiqueoliveira/subscriptions","organizations_url":"https://api.github.com/users/jcaiqueoliveira/orgs","repos_url":"https://api.github.com/users/jcaiqueoliveira/repos","events_url":"https://api.github.com/users/jcaiqueoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/jcaiqueoliveira/received_events","type":"User","site_admin":false},"repo":{"id":120309199,"name":"sample-mvvm","full_name":"jcaiqueoliveira/sample-mvvm","owner":{"login":"jcaiqueoliveira","id":5406701,"avatar_url":"https://avatars2.githubusercontent.com/u/5406701?v=4","gravatar_id":"","url":"https://api.github.com/users/jcaiqueoliveira","html_url":"https://github.com/jcaiqueoliveira","followers_url":"https://api.github.com/users/jcaiqueoliveira/followers","following_url":"https://api.github.com/users/jcaiqueoliveira/following{/other_user}","gists_url":"https://api.github.com/users/jcaiqueoliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaiqueoliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaiqueoliveira/subscriptions","organizations_url":"https://api.github.com/users/jcaiqueoliveira/orgs","repos_url":"https://api.github.com/users/jcaiqueoliveira/repos","events_url":"https://api.github.com/users/jcaiqueoliveira/events{/privacy}","received_events_url":"https://api.github.com/users/jcaiqueoliveira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcaiqueoliveira/sample-mvvm","description":"Just a repository to apply some concepts of mvvm","fork":false,"url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm","forks_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/forks","keys_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/teams","hooks_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/hooks","issue_events_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/events{/number}","events_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/events","assignees_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/assignees{/user}","branches_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/branches{/branch}","tags_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/tags","blobs_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/statuses/{sha}","languages_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/languages","stargazers_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/stargazers","contributors_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/contributors","subscribers_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/subscribers","subscription_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/subscription","commits_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/contents/{+path}","compare_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/merges","archive_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/downloads","issues_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues{/number}","pulls_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls{/number}","milestones_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/milestones{/number}","notifications_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/labels{/name}","releases_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/releases{/id}","deployments_url":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/deployments","created_at":"2018-02-05T13:35:28Z","updated_at":"2018-02-05T13:38:54Z","pushed_at":"2018-02-08T20:30:41Z","git_url":"git://github.com/jcaiqueoliveira/sample-mvvm.git","ssh_url":"git@github.com:jcaiqueoliveira/sample-mvvm.git","clone_url":"https://github.com/jcaiqueoliveira/sample-mvvm.git","svn_url":"https://github.com/jcaiqueoliveira/sample-mvvm","homepage":null,"size":182,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3"},"html":{"href":"https://github.com/jcaiqueoliveira/sample-mvvm/pull/3"},"issue":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/3"},"comments":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jcaiqueoliveira/sample-mvvm/statuses/a7a645f9c5efedd10e0da4c5874a8b375930bec6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ubiratansoares"}}