{"action":"created","comment":{"url":"https://api.github.com/repos/VEndymionV/Training1/pulls/comments/329065258","pull_request_review_id":294316161,"id":329065258,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyOTA2NTI1OA==","diff_hunk":"@@ -0,0 +1,31 @@\n+package com.example.training1.movies.model\n+\n+import com.example.training1.movies.model.retrofit.remotemodel.RemoteMovie\n+import com.example.training1.movies.model.retrofit.remotemodel.RemoteSearchResult\n+import com.example.training1.movies.model.retrofit.service.MoviesService\n+import com.example.training1.movies.viewmodel.model.Movie\n+import com.example.training1.movies.viewmodel.model.SearchResult\n+import io.reactivex.Single\n+import javax.inject.Inject\n+\n+class MoviesRepository @Inject constructor(\n+    private val retrofitMoviesService: MoviesService,\n+    private val apiKey: String\n+) {\n+\n+    fun searchForMovies(title: String, type: String? = null): Single<SearchResult> {","path":"app/src/main/java/com/example/training1/movies/model/MoviesRepository.kt","position":16,"original_position":16,"commit_id":"8e8b020c255e2b2b5689758968bcd53e39c7ea4d","original_commit_id":"8e8b020c255e2b2b5689758968bcd53e39c7ea4d","user":{"login":"Bartosz-Kozajda","id":13692368,"node_id":"MDQ6VXNlcjEzNjkyMzY4","avatar_url":"https://avatars2.githubusercontent.com/u/13692368?v=4","gravatar_id":"","url":"https://api.github.com/users/Bartosz-Kozajda","html_url":"https://github.com/Bartosz-Kozajda","followers_url":"https://api.github.com/users/Bartosz-Kozajda/followers","following_url":"https://api.github.com/users/Bartosz-Kozajda/following{/other_user}","gists_url":"https://api.github.com/users/Bartosz-Kozajda/gists{/gist_id}","starred_url":"https://api.github.com/users/Bartosz-Kozajda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bartosz-Kozajda/subscriptions","organizations_url":"https://api.github.com/users/Bartosz-Kozajda/orgs","repos_url":"https://api.github.com/users/Bartosz-Kozajda/repos","events_url":"https://api.github.com/users/Bartosz-Kozajda/events{/privacy}","received_events_url":"https://api.github.com/users/Bartosz-Kozajda/received_events","type":"User","site_admin":false},"body":"I think this method should return just List<Movie> ","created_at":"2019-09-27T13:14:19Z","updated_at":"2019-09-27T13:14:19Z","html_url":"https://github.com/VEndymionV/Training1/pull/31#discussion_r329065258","pull_request_url":"https://api.github.com/repos/VEndymionV/Training1/pulls/31","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/VEndymionV/Training1/pulls/comments/329065258"},"html":{"href":"https://github.com/VEndymionV/Training1/pull/31#discussion_r329065258"},"pull_request":{"href":"https://api.github.com/repos/VEndymionV/Training1/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/VEndymionV/Training1/pulls/31","id":321133842,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIxMTMzODQy","html_url":"https://github.com/VEndymionV/Training1/pull/31","diff_url":"https://github.com/VEndymionV/Training1/pull/31.diff","patch_url":"https://github.com/VEndymionV/Training1/pull/31.patch","issue_url":"https://api.github.com/repos/VEndymionV/Training1/issues/31","number":31,"state":"open","locked":false,"title":"Refactoring + separated modules","user":{"login":"VEndymionV","id":29087969,"node_id":"MDQ6VXNlcjI5MDg3OTY5","avatar_url":"https://avatars0.githubusercontent.com/u/29087969?v=4","gravatar_id":"","url":"https://api.github.com/users/VEndymionV","html_url":"https://github.com/VEndymionV","followers_url":"https://api.github.com/users/VEndymionV/followers","following_url":"https://api.github.com/users/VEndymionV/following{/other_user}","gists_url":"https://api.github.com/users/VEndymionV/gists{/gist_id}","starred_url":"https://api.github.com/users/VEndymionV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VEndymionV/subscriptions","organizations_url":"https://api.github.com/users/VEndymionV/orgs","repos_url":"https://api.github.com/users/VEndymionV/repos","events_url":"https://api.github.com/users/VEndymionV/events{/privacy}","received_events_url":"https://api.github.com/users/VEndymionV/received_events","type":"User","site_admin":false},"body":"Created separated modules - modules for remote (retrofit) and for viewmodel","created_at":"2019-09-25T08:55:22Z","updated_at":"2019-09-27T13:14:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0108f1ae53f1dab21b00d37fe676568af9f5f07d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/VEndymionV/Training1/pulls/31/commits","review_comments_url":"https://api.github.com/repos/VEndymionV/Training1/pulls/31/comments","review_comment_url":"https://api.github.com/repos/VEndymionV/Training1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VEndymionV/Training1/issues/31/comments","statuses_url":"https://api.github.com/repos/VEndymionV/Training1/statuses/8e8b020c255e2b2b5689758968bcd53e39c7ea4d","head":{"label":"VEndymionV:packages_refactoring","ref":"packages_refactoring","sha":"8e8b020c255e2b2b5689758968bcd53e39c7ea4d","user":{"login":"VEndymionV","id":29087969,"node_id":"MDQ6VXNlcjI5MDg3OTY5","avatar_url":"https://avatars0.githubusercontent.com/u/29087969?v=4","gravatar_id":"","url":"https://api.github.com/users/VEndymionV","html_url":"https://github.com/VEndymionV","followers_url":"https://api.github.com/users/VEndymionV/followers","following_url":"https://api.github.com/users/VEndymionV/following{/other_user}","gists_url":"https://api.github.com/users/VEndymionV/gists{/gist_id}","starred_url":"https://api.github.com/users/VEndymionV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VEndymionV/subscriptions","organizations_url":"https://api.github.com/users/VEndymionV/orgs","repos_url":"https://api.github.com/users/VEndymionV/repos","events_url":"https://api.github.com/users/VEndymionV/events{/privacy}","received_events_url":"https://api.github.com/users/VEndymionV/received_events","type":"User","site_admin":false},"repo":{"id":206017386,"node_id":"MDEwOlJlcG9zaXRvcnkyMDYwMTczODY=","name":"Training1","full_name":"VEndymionV/Training1","private":false,"owner":{"login":"VEndymionV","id":29087969,"node_id":"MDQ6VXNlcjI5MDg3OTY5","avatar_url":"https://avatars0.githubusercontent.com/u/29087969?v=4","gravatar_id":"","url":"https://api.github.com/users/VEndymionV","html_url":"https://github.com/VEndymionV","followers_url":"https://api.github.com/users/VEndymionV/followers","following_url":"https://api.github.com/users/VEndymionV/following{/other_user}","gists_url":"https://api.github.com/users/VEndymionV/gists{/gist_id}","starred_url":"https://api.github.com/users/VEndymionV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VEndymionV/subscriptions","organizations_url":"https://api.github.com/users/VEndymionV/orgs","repos_url":"https://api.github.com/users/VEndymionV/repos","events_url":"https://api.github.com/users/VEndymionV/events{/privacy}","received_events_url":"https://api.github.com/users/VEndymionV/received_events","type":"User","site_admin":false},"html_url":"https://github.com/VEndymionV/Training1","description":null,"fork":false,"url":"https://api.github.com/repos/VEndymionV/Training1","forks_url":"https://api.github.com/repos/VEndymionV/Training1/forks","keys_url":"https://api.github.com/repos/VEndymionV/Training1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VEndymionV/Training1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VEndymionV/Training1/teams","hooks_url":"https://api.github.com/repos/VEndymionV/Training1/hooks","issue_events_url":"https://api.github.com/repos/VEndymionV/Training1/issues/events{/number}","events_url":"https://api.github.com/repos/VEndymionV/Training1/events","assignees_url":"https://api.github.com/repos/VEndymionV/Training1/assignees{/user}","branches_url":"https://api.github.com/repos/VEndymionV/Training1/branches{/branch}","tags_url":"https://api.github.com/repos/VEndymionV/Training1/tags","blobs_url":"https://api.github.com/repos/VEndymionV/Training1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VEndymionV/Training1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VEndymionV/Training1/git/refs{/sha}","trees_url":"https://api.github.com/repos/VEndymionV/Training1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VEndymionV/Training1/statuses/{sha}","languages_url":"https://api.github.com/repos/VEndymionV/Training1/languages","stargazers_url":"https://api.github.com/repos/VEndymionV/Training1/stargazers","contributors_url":"https://api.github.com/repos/VEndymionV/Training1/contributors","subscribers_url":"https://api.github.com/repos/VEndymionV/Training1/subscribers","subscription_url":"https://api.github.com/repos/VEndymionV/Training1/subscription","commits_url":"https://api.github.com/repos/VEndymionV/Training1/commits{/sha}","git_commits_url":"https://api.github.com/repos/VEndymionV/Training1/git/commits{/sha}","comments_url":"https://api.github.com/repos/VEndymionV/Training1/comments{/number}","issue_comment_url":"https://api.github.com/repos/VEndymionV/Training1/issues/comments{/number}","contents_url":"https://api.github.com/repos/VEndymionV/Training1/contents/{+path}","compare_url":"https://api.github.com/repos/VEndymionV/Training1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VEndymionV/Training1/merges","archive_url":"https://api.github.com/repos/VEndymionV/Training1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VEndymionV/Training1/downloads","issues_url":"https://api.github.com/repos/VEndymionV/Training1/issues{/number}","pulls_url":"https://api.github.com/repos/VEndymionV/Training1/pulls{/number}","milestones_url":"https://api.github.com/repos/VEndymionV/Training1/milestones{/number}","notifications_url":"https://api.github.com/repos/VEndymionV/Training1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VEndymionV/Training1/labels{/name}","releases_url":"https://api.github.com/repos/VEndymionV/Training1/releases{/id}","deployments_url":"https://api.github.com/repos/VEndymionV/Training1/deployments","created_at":"2019-09-03T07:36:45Z","updated_at":"2019-09-24T12:20:41Z","pushed_at":"2019-09-27T07:02:12Z","git_url":"git://github.com/VEndymionV/Training1.git","ssh_url":"git@github.com:VEndymionV/Training1.git","clone_url":"https://github.com/VEndymionV/Training1.git","svn_url":"https://github.com/VEndymionV/Training1","homepage":null,"size":194,"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,"disabled":false,"open_issues_count":9,"license":null,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"base":{"label":"VEndymionV:develop","ref":"develop","sha":"904cd23f2e94305bcc12841f965f7078ee495775","user":{"login":"VEndymionV","id":29087969,"node_id":"MDQ6VXNlcjI5MDg3OTY5","avatar_url":"https://avatars0.githubusercontent.com/u/29087969?v=4","gravatar_id":"","url":"https://api.github.com/users/VEndymionV","html_url":"https://github.com/VEndymionV","followers_url":"https://api.github.com/users/VEndymionV/followers","following_url":"https://api.github.com/users/VEndymionV/following{/other_user}","gists_url":"https://api.github.com/users/VEndymionV/gists{/gist_id}","starred_url":"https://api.github.com/users/VEndymionV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VEndymionV/subscriptions","organizations_url":"https://api.github.com/users/VEndymionV/orgs","repos_url":"https://api.github.com/users/VEndymionV/repos","events_url":"https://api.github.com/users/VEndymionV/events{/privacy}","received_events_url":"https://api.github.com/users/VEndymionV/received_events","type":"User","site_admin":false},"repo":{"id":206017386,"node_id":"MDEwOlJlcG9zaXRvcnkyMDYwMTczODY=","name":"Training1","full_name":"VEndymionV/Training1","private":false,"owner":{"login":"VEndymionV","id":29087969,"node_id":"MDQ6VXNlcjI5MDg3OTY5","avatar_url":"https://avatars0.githubusercontent.com/u/29087969?v=4","gravatar_id":"","url":"https://api.github.com/users/VEndymionV","html_url":"https://github.com/VEndymionV","followers_url":"https://api.github.com/users/VEndymionV/followers","following_url":"https://api.github.com/users/VEndymionV/following{/other_user}","gists_url":"https://api.github.com/users/VEndymionV/gists{/gist_id}","starred_url":"https://api.github.com/users/VEndymionV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VEndymionV/subscriptions","organizations_url":"https://api.github.com/users/VEndymionV/orgs","repos_url":"https://api.github.com/users/VEndymionV/repos","events_url":"https://api.github.com/users/VEndymionV/events{/privacy}","received_events_url":"https://api.github.com/users/VEndymionV/received_events","type":"User","site_admin":false},"html_url":"https://github.com/VEndymionV/Training1","description":null,"fork":false,"url":"https://api.github.com/repos/VEndymionV/Training1","forks_url":"https://api.github.com/repos/VEndymionV/Training1/forks","keys_url":"https://api.github.com/repos/VEndymionV/Training1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VEndymionV/Training1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VEndymionV/Training1/teams","hooks_url":"https://api.github.com/repos/VEndymionV/Training1/hooks","issue_events_url":"https://api.github.com/repos/VEndymionV/Training1/issues/events{/number}","events_url":"https://api.github.com/repos/VEndymionV/Training1/events","assignees_url":"https://api.github.com/repos/VEndymionV/Training1/assignees{/user}","branches_url":"https://api.github.com/repos/VEndymionV/Training1/branches{/branch}","tags_url":"https://api.github.com/repos/VEndymionV/Training1/tags","blobs_url":"https://api.github.com/repos/VEndymionV/Training1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VEndymionV/Training1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VEndymionV/Training1/git/refs{/sha}","trees_url":"https://api.github.com/repos/VEndymionV/Training1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VEndymionV/Training1/statuses/{sha}","languages_url":"https://api.github.com/repos/VEndymionV/Training1/languages","stargazers_url":"https://api.github.com/repos/VEndymionV/Training1/stargazers","contributors_url":"https://api.github.com/repos/VEndymionV/Training1/contributors","subscribers_url":"https://api.github.com/repos/VEndymionV/Training1/subscribers","subscription_url":"https://api.github.com/repos/VEndymionV/Training1/subscription","commits_url":"https://api.github.com/repos/VEndymionV/Training1/commits{/sha}","git_commits_url":"https://api.github.com/repos/VEndymionV/Training1/git/commits{/sha}","comments_url":"https://api.github.com/repos/VEndymionV/Training1/comments{/number}","issue_comment_url":"https://api.github.com/repos/VEndymionV/Training1/issues/comments{/number}","contents_url":"https://api.github.com/repos/VEndymionV/Training1/contents/{+path}","compare_url":"https://api.github.com/repos/VEndymionV/Training1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VEndymionV/Training1/merges","archive_url":"https://api.github.com/repos/VEndymionV/Training1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VEndymionV/Training1/downloads","issues_url":"https://api.github.com/repos/VEndymionV/Training1/issues{/number}","pulls_url":"https://api.github.com/repos/VEndymionV/Training1/pulls{/number}","milestones_url":"https://api.github.com/repos/VEndymionV/Training1/milestones{/number}","notifications_url":"https://api.github.com/repos/VEndymionV/Training1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VEndymionV/Training1/labels{/name}","releases_url":"https://api.github.com/repos/VEndymionV/Training1/releases{/id}","deployments_url":"https://api.github.com/repos/VEndymionV/Training1/deployments","created_at":"2019-09-03T07:36:45Z","updated_at":"2019-09-24T12:20:41Z","pushed_at":"2019-09-27T07:02:12Z","git_url":"git://github.com/VEndymionV/Training1.git","ssh_url":"git@github.com:VEndymionV/Training1.git","clone_url":"https://github.com/VEndymionV/Training1.git","svn_url":"https://github.com/VEndymionV/Training1","homepage":null,"size":194,"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,"disabled":false,"open_issues_count":9,"license":null,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/VEndymionV/Training1/pulls/31"},"html":{"href":"https://github.com/VEndymionV/Training1/pull/31"},"issue":{"href":"https://api.github.com/repos/VEndymionV/Training1/issues/31"},"comments":{"href":"https://api.github.com/repos/VEndymionV/Training1/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/VEndymionV/Training1/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/VEndymionV/Training1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VEndymionV/Training1/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/VEndymionV/Training1/statuses/8e8b020c255e2b2b5689758968bcd53e39c7ea4d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Bartosz-Kozajda"}}