{"action":"created","comment":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/52139398","id":52139398,"diff_hunk":"@@ -30,48 +29,52 @@\n     @JsonProperty(\"serveraddress\")\n     private String serverAddress = DEFAULT_SERVER_ADDRESS;\n \n+    @JsonProperty(\"auth\")\n     private String auth;\n \n     public String getUsername() {\n         return username;\n     }\n \n-    public void setUsername(String username) {\n+    public AuthConfig withUsername(String username) {\n         this.username = username;\n+        return this;\n     }\n \n     public String getPassword() {\n         return password;\n     }\n \n-    public void setPassword(String password) {\n+    public AuthConfig withPassword(String password) {\n         this.password = password;\n+        return this;\n     }\n \n     public String getEmail() {\n         return email;\n     }\n \n-    public void setEmail(String email) {\n+    public AuthConfig withEmail(String email) {\n         this.email = email;\n+        return this;\n     }\n \n     public String getServerAddress() {\n         return serverAddress;\n     }\n \n-    public void setServerAddress(String serverAddress) {\n+    public AuthConfig withServerAddress(String serverAddress) {","path":"src/main/java/com/github/dockerjava/api/model/AuthConfig.java","position":50,"original_position":50,"commit_id":"43feaf1fb17165b81cc39e39759024c93ab37f63","original_commit_id":"43feaf1fb17165b81cc39e39759024c93ab37f63","user":{"login":"marcuslinke","id":2578608,"avatar_url":"https://avatars.githubusercontent.com/u/2578608?v=3","gravatar_id":"","url":"https://api.github.com/users/marcuslinke","html_url":"https://github.com/marcuslinke","followers_url":"https://api.github.com/users/marcuslinke/followers","following_url":"https://api.github.com/users/marcuslinke/following{/other_user}","gists_url":"https://api.github.com/users/marcuslinke/gists{/gist_id}","starred_url":"https://api.github.com/users/marcuslinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcuslinke/subscriptions","organizations_url":"https://api.github.com/users/marcuslinke/orgs","repos_url":"https://api.github.com/users/marcuslinke/repos","events_url":"https://api.github.com/users/marcuslinke/events{/privacy}","received_events_url":"https://api.github.com/users/marcuslinke/received_events","type":"User","site_admin":false},"body":"Not sure if this should be included in this PR but I suggest to rename method to `withRegistryUrl`. WDYT?","created_at":"2016-02-08T07:48:58Z","updated_at":"2016-02-08T07:48:58Z","html_url":"https://github.com/docker-java/docker-java/pull/454#discussion_r52139398","pull_request_url":"https://api.github.com/repos/docker-java/docker-java/pulls/454","_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/52139398"},"html":{"href":"https://github.com/docker-java/docker-java/pull/454#discussion_r52139398"},"pull_request":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/454"}}},"pull_request":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/454","id":58560440,"html_url":"https://github.com/docker-java/docker-java/pull/454","diff_url":"https://github.com/docker-java/docker-java/pull/454.diff","patch_url":"https://github.com/docker-java/docker-java/pull/454.patch","issue_url":"https://api.github.com/repos/docker-java/docker-java/issues/454","number":454,"state":"open","locked":false,"title":"Make AuthConfig fluent setters.","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"body":"Resolves #453","created_at":"2016-02-07T22:59:43Z","updated_at":"2016-02-08T07:48:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f537ac6776e193946bc17b651023feea0dae983","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker-java/docker-java/pulls/454/commits","review_comments_url":"https://api.github.com/repos/docker-java/docker-java/pulls/454/comments","review_comment_url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-java/docker-java/issues/454/comments","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/43feaf1fb17165b81cc39e39759024c93ab37f63","head":{"label":"KostyaSha:authConfig","ref":"authConfig","sha":"43feaf1fb17165b81cc39e39759024c93ab37f63","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"repo":{"id":33014583,"name":"docker-java","full_name":"KostyaSha/docker-java","owner":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KostyaSha/docker-java","description":"Java Docker API Client","fork":true,"url":"https://api.github.com/repos/KostyaSha/docker-java","forks_url":"https://api.github.com/repos/KostyaSha/docker-java/forks","keys_url":"https://api.github.com/repos/KostyaSha/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KostyaSha/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KostyaSha/docker-java/teams","hooks_url":"https://api.github.com/repos/KostyaSha/docker-java/hooks","issue_events_url":"https://api.github.com/repos/KostyaSha/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/KostyaSha/docker-java/events","assignees_url":"https://api.github.com/repos/KostyaSha/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/KostyaSha/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/KostyaSha/docker-java/tags","blobs_url":"https://api.github.com/repos/KostyaSha/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KostyaSha/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KostyaSha/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/KostyaSha/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KostyaSha/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/KostyaSha/docker-java/languages","stargazers_url":"https://api.github.com/repos/KostyaSha/docker-java/stargazers","contributors_url":"https://api.github.com/repos/KostyaSha/docker-java/contributors","subscribers_url":"https://api.github.com/repos/KostyaSha/docker-java/subscribers","subscription_url":"https://api.github.com/repos/KostyaSha/docker-java/subscription","commits_url":"https://api.github.com/repos/KostyaSha/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/KostyaSha/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/KostyaSha/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/KostyaSha/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/KostyaSha/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/KostyaSha/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KostyaSha/docker-java/merges","archive_url":"https://api.github.com/repos/KostyaSha/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KostyaSha/docker-java/downloads","issues_url":"https://api.github.com/repos/KostyaSha/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/KostyaSha/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/KostyaSha/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/KostyaSha/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KostyaSha/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/KostyaSha/docker-java/releases{/id}","deployments_url":"https://api.github.com/repos/KostyaSha/docker-java/deployments","created_at":"2015-03-27T23:57:03Z","updated_at":"2016-01-11T07:58:27Z","pushed_at":"2016-02-07T23:20:07Z","git_url":"git://github.com/KostyaSha/docker-java.git","ssh_url":"git@github.com:KostyaSha/docker-java.git","clone_url":"https://github.com/KostyaSha/docker-java.git","svn_url":"https://github.com/KostyaSha/docker-java","homepage":"","size":2885,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"docker-java:master","ref":"master","sha":"41bad018b09e19750d2cfe01a7c6172945e94573","user":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"repo":{"id":20415251,"name":"docker-java","full_name":"docker-java/docker-java","owner":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-java/docker-java","description":"Java Docker API Client","fork":false,"url":"https://api.github.com/repos/docker-java/docker-java","forks_url":"https://api.github.com/repos/docker-java/docker-java/forks","keys_url":"https://api.github.com/repos/docker-java/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-java/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-java/docker-java/teams","hooks_url":"https://api.github.com/repos/docker-java/docker-java/hooks","issue_events_url":"https://api.github.com/repos/docker-java/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/docker-java/docker-java/events","assignees_url":"https://api.github.com/repos/docker-java/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/docker-java/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/docker-java/docker-java/tags","blobs_url":"https://api.github.com/repos/docker-java/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-java/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-java/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-java/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-java/docker-java/languages","stargazers_url":"https://api.github.com/repos/docker-java/docker-java/stargazers","contributors_url":"https://api.github.com/repos/docker-java/docker-java/contributors","subscribers_url":"https://api.github.com/repos/docker-java/docker-java/subscribers","subscription_url":"https://api.github.com/repos/docker-java/docker-java/subscription","commits_url":"https://api.github.com/repos/docker-java/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-java/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-java/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-java/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-java/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/docker-java/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-java/docker-java/merges","archive_url":"https://api.github.com/repos/docker-java/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-java/docker-java/downloads","issues_url":"https://api.github.com/repos/docker-java/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/docker-java/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-java/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-java/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-java/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/docker-java/docker-java/releases{/id}","deployments_url":"https://api.github.com/repos/docker-java/docker-java/deployments","created_at":"2014-06-02T18:47:31Z","updated_at":"2016-02-08T01:49:41Z","pushed_at":"2016-02-07T23:20:08Z","git_url":"git://github.com/docker-java/docker-java.git","ssh_url":"git@github.com:docker-java/docker-java.git","clone_url":"https://github.com/docker-java/docker-java.git","svn_url":"https://github.com/docker-java/docker-java","homepage":"","size":3765,"stargazers_count":320,"watchers_count":320,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":225,"mirror_url":null,"open_issues_count":36,"forks":225,"open_issues":36,"watchers":320,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/454"},"html":{"href":"https://github.com/docker-java/docker-java/pull/454"},"issue":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/454"},"comments":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/docker-java/docker-java/statuses/43feaf1fb17165b81cc39e39759024c93ab37f63"}}}}