{"action":"created","comment":{"url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/comments/179529168","pull_request_review_id":109787094,"id":179529168,"diff_hunk":"@@ -0,0 +1,91 @@\n+package travelbook.android.app.data;\n+\n+\n+import android.support.annotation.NonNull;\n+\n+/**\n+ * A data class which represents Photo entity.\n+ */\n+\n+public class Photo {\n+\n+    private long id;\n+    private String uri;\n+    private String text = null;\n+    private boolean isPrimary;\n+    private Memory memory = null;\n+\n+    private Photo(long id, String uri, String text, boolean isPrimary, Memory memory) {\n+        this.id = id;\n+        this.uri = uri;\n+        this.text = text;\n+        this.isPrimary = isPrimary;\n+        this.memory = memory;\n+    }\n+\n+    public long getId() {\n+        return id;\n+    }\n+\n+    public String getUri() {\n+        return uri;\n+    }\n+\n+    public String getText() {\n+        return text;\n+    }\n+\n+    public boolean isPrimary() {\n+        return isPrimary;\n+    }\n+\n+    public Memory getMemory() {\n+        return memory;\n+    }\n+\n+    @NonNull\n+    public static Builder builder() {\n+        return new Builder();\n+    }\n+\n+    public static class Builder {\n+        private long id;","path":"app/src/main/java/travelbook/android/app/data/Photo.java","position":52,"original_position":52,"commit_id":"a9e991da4b883f487acf7201b5254cf0dc9b1fa0","original_commit_id":"a9e991da4b883f487acf7201b5254cf0dc9b1fa0","user":{"login":"irdtsk","id":2445920,"avatar_url":"https://avatars0.githubusercontent.com/u/2445920?v=4","gravatar_id":"","url":"https://api.github.com/users/irdtsk","html_url":"https://github.com/irdtsk","followers_url":"https://api.github.com/users/irdtsk/followers","following_url":"https://api.github.com/users/irdtsk/following{/other_user}","gists_url":"https://api.github.com/users/irdtsk/gists{/gist_id}","starred_url":"https://api.github.com/users/irdtsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irdtsk/subscriptions","organizations_url":"https://api.github.com/users/irdtsk/orgs","repos_url":"https://api.github.com/users/irdtsk/repos","events_url":"https://api.github.com/users/irdtsk/events{/privacy}","received_events_url":"https://api.github.com/users/irdtsk/received_events","type":"User","site_admin":false},"body":"Remove redundant null assignments.","created_at":"2018-04-05T16:48:49Z","updated_at":"2018-04-05T16:55:07Z","html_url":"https://github.com/irinaGrishchenko/TravelBook/pull/2#discussion_r179529168","pull_request_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/comments/179529168"},"html":{"href":"https://github.com/irinaGrishchenko/TravelBook/pull/2#discussion_r179529168"},"pull_request":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2","id":179708304,"html_url":"https://github.com/irinaGrishchenko/TravelBook/pull/2","diff_url":"https://github.com/irinaGrishchenko/TravelBook/pull/2.diff","patch_url":"https://github.com/irinaGrishchenko/TravelBook/pull/2.patch","issue_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/2","number":2,"state":"open","locked":false,"title":"commit on the first issue","user":{"login":"irinaGrishchenko","id":37071058,"avatar_url":"https://avatars2.githubusercontent.com/u/37071058?v=4","gravatar_id":"","url":"https://api.github.com/users/irinaGrishchenko","html_url":"https://github.com/irinaGrishchenko","followers_url":"https://api.github.com/users/irinaGrishchenko/followers","following_url":"https://api.github.com/users/irinaGrishchenko/following{/other_user}","gists_url":"https://api.github.com/users/irinaGrishchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/irinaGrishchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irinaGrishchenko/subscriptions","organizations_url":"https://api.github.com/users/irinaGrishchenko/orgs","repos_url":"https://api.github.com/users/irinaGrishchenko/repos","events_url":"https://api.github.com/users/irinaGrishchenko/events{/privacy}","received_events_url":"https://api.github.com/users/irinaGrishchenko/received_events","type":"User","site_admin":false},"body":"Created one class Photo and change class Memory","created_at":"2018-04-05T15:13:02Z","updated_at":"2018-04-05T16:55:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b6f3f96d318abd3b2755eb7bfe6253991354778","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2/commits","review_comments_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2/comments","review_comment_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/2/comments","statuses_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/statuses/a9e991da4b883f487acf7201b5254cf0dc9b1fa0","head":{"label":"irinaGrishchenko:begins","ref":"begins","sha":"a9e991da4b883f487acf7201b5254cf0dc9b1fa0","user":{"login":"irinaGrishchenko","id":37071058,"avatar_url":"https://avatars2.githubusercontent.com/u/37071058?v=4","gravatar_id":"","url":"https://api.github.com/users/irinaGrishchenko","html_url":"https://github.com/irinaGrishchenko","followers_url":"https://api.github.com/users/irinaGrishchenko/followers","following_url":"https://api.github.com/users/irinaGrishchenko/following{/other_user}","gists_url":"https://api.github.com/users/irinaGrishchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/irinaGrishchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irinaGrishchenko/subscriptions","organizations_url":"https://api.github.com/users/irinaGrishchenko/orgs","repos_url":"https://api.github.com/users/irinaGrishchenko/repos","events_url":"https://api.github.com/users/irinaGrishchenko/events{/privacy}","received_events_url":"https://api.github.com/users/irinaGrishchenko/received_events","type":"User","site_admin":false},"repo":{"id":125990613,"name":"TravelBook","full_name":"irinaGrishchenko/TravelBook","owner":{"login":"irinaGrishchenko","id":37071058,"avatar_url":"https://avatars2.githubusercontent.com/u/37071058?v=4","gravatar_id":"","url":"https://api.github.com/users/irinaGrishchenko","html_url":"https://github.com/irinaGrishchenko","followers_url":"https://api.github.com/users/irinaGrishchenko/followers","following_url":"https://api.github.com/users/irinaGrishchenko/following{/other_user}","gists_url":"https://api.github.com/users/irinaGrishchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/irinaGrishchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irinaGrishchenko/subscriptions","organizations_url":"https://api.github.com/users/irinaGrishchenko/orgs","repos_url":"https://api.github.com/users/irinaGrishchenko/repos","events_url":"https://api.github.com/users/irinaGrishchenko/events{/privacy}","received_events_url":"https://api.github.com/users/irinaGrishchenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/irinaGrishchenko/TravelBook","description":null,"fork":false,"url":"https://api.github.com/repos/irinaGrishchenko/TravelBook","forks_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/forks","keys_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/teams","hooks_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/hooks","issue_events_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/events{/number}","events_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/events","assignees_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/assignees{/user}","branches_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/branches{/branch}","tags_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/tags","blobs_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/statuses/{sha}","languages_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/languages","stargazers_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/stargazers","contributors_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/contributors","subscribers_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/subscribers","subscription_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/subscription","commits_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/contents/{+path}","compare_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/merges","archive_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/downloads","issues_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues{/number}","pulls_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls{/number}","milestones_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/milestones{/number}","notifications_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/labels{/name}","releases_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/releases{/id}","deployments_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/deployments","created_at":"2018-03-20T09:12:20Z","updated_at":"2018-04-02T12:23:18Z","pushed_at":"2018-04-05T15:13:03Z","git_url":"git://github.com/irinaGrishchenko/TravelBook.git","ssh_url":"git@github.com:irinaGrishchenko/TravelBook.git","clone_url":"https://github.com/irinaGrishchenko/TravelBook.git","svn_url":"https://github.com/irinaGrishchenko/TravelBook","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"Java","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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"irinaGrishchenko:master","ref":"master","sha":"751d038beb1c01aaa6491d3e86b67888aefec220","user":{"login":"irinaGrishchenko","id":37071058,"avatar_url":"https://avatars2.githubusercontent.com/u/37071058?v=4","gravatar_id":"","url":"https://api.github.com/users/irinaGrishchenko","html_url":"https://github.com/irinaGrishchenko","followers_url":"https://api.github.com/users/irinaGrishchenko/followers","following_url":"https://api.github.com/users/irinaGrishchenko/following{/other_user}","gists_url":"https://api.github.com/users/irinaGrishchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/irinaGrishchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irinaGrishchenko/subscriptions","organizations_url":"https://api.github.com/users/irinaGrishchenko/orgs","repos_url":"https://api.github.com/users/irinaGrishchenko/repos","events_url":"https://api.github.com/users/irinaGrishchenko/events{/privacy}","received_events_url":"https://api.github.com/users/irinaGrishchenko/received_events","type":"User","site_admin":false},"repo":{"id":125990613,"name":"TravelBook","full_name":"irinaGrishchenko/TravelBook","owner":{"login":"irinaGrishchenko","id":37071058,"avatar_url":"https://avatars2.githubusercontent.com/u/37071058?v=4","gravatar_id":"","url":"https://api.github.com/users/irinaGrishchenko","html_url":"https://github.com/irinaGrishchenko","followers_url":"https://api.github.com/users/irinaGrishchenko/followers","following_url":"https://api.github.com/users/irinaGrishchenko/following{/other_user}","gists_url":"https://api.github.com/users/irinaGrishchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/irinaGrishchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irinaGrishchenko/subscriptions","organizations_url":"https://api.github.com/users/irinaGrishchenko/orgs","repos_url":"https://api.github.com/users/irinaGrishchenko/repos","events_url":"https://api.github.com/users/irinaGrishchenko/events{/privacy}","received_events_url":"https://api.github.com/users/irinaGrishchenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/irinaGrishchenko/TravelBook","description":null,"fork":false,"url":"https://api.github.com/repos/irinaGrishchenko/TravelBook","forks_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/forks","keys_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/teams","hooks_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/hooks","issue_events_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/events{/number}","events_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/events","assignees_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/assignees{/user}","branches_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/branches{/branch}","tags_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/tags","blobs_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/statuses/{sha}","languages_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/languages","stargazers_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/stargazers","contributors_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/contributors","subscribers_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/subscribers","subscription_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/subscription","commits_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/contents/{+path}","compare_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/merges","archive_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/downloads","issues_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues{/number}","pulls_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls{/number}","milestones_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/milestones{/number}","notifications_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/labels{/name}","releases_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/releases{/id}","deployments_url":"https://api.github.com/repos/irinaGrishchenko/TravelBook/deployments","created_at":"2018-03-20T09:12:20Z","updated_at":"2018-04-02T12:23:18Z","pushed_at":"2018-04-05T15:13:03Z","git_url":"git://github.com/irinaGrishchenko/TravelBook.git","ssh_url":"git@github.com:irinaGrishchenko/TravelBook.git","clone_url":"https://github.com/irinaGrishchenko/TravelBook.git","svn_url":"https://github.com/irinaGrishchenko/TravelBook","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"Java","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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2"},"html":{"href":"https://github.com/irinaGrishchenko/TravelBook/pull/2"},"issue":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/2"},"comments":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/irinaGrishchenko/TravelBook/statuses/a9e991da4b883f487acf7201b5254cf0dc9b1fa0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"irdtsk"}}