{"action":"created","comment":{"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments/36660471","id":36660471,"diff_hunk":"@@ -0,0 +1,153 @@\n+package io.branch.referral;\n+\n+import android.content.Context;\n+\n+import org.json.JSONObject;\n+\n+/**\n+ * <p>\n+ * Class for creating builder for getting a short url with Branch. This builder provide an easy and flexible way to configure and create\n+ * a short url Synchronously or asynchronously.\n+ * </p>\n+ */\n+public class BranchShortLinkBuilder extends BranchUrlBuilder {\n+    public BranchShortLinkBuilder(Context context) {\n+        super(context);\n+    }\n+\n+    /**\n+     * <p>Adds a tag to the iterable collection of name associated with a deep link.</p>\n+     *\n+     * @param tag {@link String} tags associated with a deep link.\n+     * @return A {@link BranchShortLinkBuilder} instance.\n+     */\n+    public BranchShortLinkBuilder addTag(String tag) {\n+        super.addTag(tag);\n+        return this;\n+    }\n+\n+    /**\n+     * <p>Adds the the given key value pair to the parameters associated with this link.</p>\n+     *\n+     * @param key   A {@link String} with value of key for the parameter\n+     * @param value A {@link String} with value of value for the parameter\n+     * @returnA {@link BranchShortLinkBuilder} instance.","path":"Branch-SDK/src/io/branch/referral/BranchShortLinkBuilder.java","position":34,"original_position":34,"commit_id":"2ad66bb71db133fb84a45b96c6701b12b38d0d8a","original_commit_id":"2ad66bb71db133fb84a45b96c6701b12b38d0d8a","user":{"login":"Kirkkt","id":10977790,"avatar_url":"https://avatars.githubusercontent.com/u/10977790?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirkkt","html_url":"https://github.com/Kirkkt","followers_url":"https://api.github.com/users/Kirkkt/followers","following_url":"https://api.github.com/users/Kirkkt/following{/other_user}","gists_url":"https://api.github.com/users/Kirkkt/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirkkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirkkt/subscriptions","organizations_url":"https://api.github.com/users/Kirkkt/orgs","repos_url":"https://api.github.com/users/Kirkkt/repos","events_url":"https://api.github.com/users/Kirkkt/events{/privacy}","received_events_url":"https://api.github.com/users/Kirkkt/received_events","type":"User","site_admin":false},"body":"super nit: the convention seems to be:\r\n\r\n` * @return this {@link BSLB}` (no period)","created_at":"2015-08-10T17:41:01Z","updated_at":"2015-08-10T17:41:01Z","html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/111#discussion_r36660471","pull_request_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments/36660471"},"html":{"href":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/111#discussion_r36660471"},"pull_request":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111","id":41393265,"html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/111","diff_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/111.diff","patch_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/111.patch","issue_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/111","number":111,"state":"open","locked":false,"title":"Adding Builders for Short links","user":{"login":"sojanpr","id":7651572,"avatar_url":"https://avatars.githubusercontent.com/u/7651572?v=3","gravatar_id":"","url":"https://api.github.com/users/sojanpr","html_url":"https://github.com/sojanpr","followers_url":"https://api.github.com/users/sojanpr/followers","following_url":"https://api.github.com/users/sojanpr/following{/other_user}","gists_url":"https://api.github.com/users/sojanpr/gists{/gist_id}","starred_url":"https://api.github.com/users/sojanpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sojanpr/subscriptions","organizations_url":"https://api.github.com/users/sojanpr/orgs","repos_url":"https://api.github.com/users/sojanpr/repos","events_url":"https://api.github.com/users/sojanpr/events{/privacy}","received_events_url":"https://api.github.com/users/sojanpr/received_events","type":"User","site_admin":false},"body":"Adding a builder to create  short url in Asynchronous or synchronous\nmethod. Deprecating previous overloaded method for creating short url\n\n@aaustin @shortstuffsushi ","created_at":"2015-08-01T00:59:38Z","updated_at":"2015-08-10T17:41:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb63176c94248d7ceb3fcadc7efacf4b625a57ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111/commits","review_comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111/comments","review_comment_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/111/comments","statuses_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/2ad66bb71db133fb84a45b96c6701b12b38d0d8a","head":{"label":"BranchMetrics:Performance_Tuning","ref":"Performance_Tuning","sha":"2ad66bb71db133fb84a45b96c6701b12b38d0d8a","user":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"repo":{"id":20421659,"name":"Android-Deferred-Deep-Linking-SDK","full_name":"BranchMetrics/Android-Deferred-Deep-Linking-SDK","owner":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","description":"Deferred Deep Linking SDK for Android apps powered by Branch Metrics. We help mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.","fork":false,"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK","forks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/forks","keys_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/teams","hooks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/hooks","issue_events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/events","assignees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/tags","blobs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/languages","stargazers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/stargazers","contributors_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contributors","subscribers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscribers","subscription_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscription","commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/merges","archive_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/downloads","issues_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/labels{/name}","releases_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/releases{/id}","created_at":"2014-06-02T22:17:59Z","updated_at":"2015-08-01T00:50:36Z","pushed_at":"2015-08-10T17:18:24Z","git_url":"git://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","ssh_url":"git@github.com:BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","clone_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","svn_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","homepage":"https://dev.branch.io/references/android_sdk/","size":10821,"stargazers_count":31,"watchers_count":31,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":7,"forks":21,"open_issues":7,"watchers":31,"default_branch":"master"}},"base":{"label":"BranchMetrics:master","ref":"master","sha":"3caae67741ec69b0464b52287142684281e4f828","user":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"repo":{"id":20421659,"name":"Android-Deferred-Deep-Linking-SDK","full_name":"BranchMetrics/Android-Deferred-Deep-Linking-SDK","owner":{"login":"BranchMetrics","id":7772941,"avatar_url":"https://avatars.githubusercontent.com/u/7772941?v=3","gravatar_id":"","url":"https://api.github.com/users/BranchMetrics","html_url":"https://github.com/BranchMetrics","followers_url":"https://api.github.com/users/BranchMetrics/followers","following_url":"https://api.github.com/users/BranchMetrics/following{/other_user}","gists_url":"https://api.github.com/users/BranchMetrics/gists{/gist_id}","starred_url":"https://api.github.com/users/BranchMetrics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BranchMetrics/subscriptions","organizations_url":"https://api.github.com/users/BranchMetrics/orgs","repos_url":"https://api.github.com/users/BranchMetrics/repos","events_url":"https://api.github.com/users/BranchMetrics/events{/privacy}","received_events_url":"https://api.github.com/users/BranchMetrics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","description":"Deferred Deep Linking SDK for Android apps powered by Branch Metrics. We help mobile apps grow with deep links / deeplinks that power referral systems, sharing links and invites with full attribution and analytics.","fork":false,"url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK","forks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/forks","keys_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/teams","hooks_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/hooks","issue_events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/events{/number}","events_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/events","assignees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/assignees{/user}","branches_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/branches{/branch}","tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/tags","blobs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/{sha}","languages_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/languages","stargazers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/stargazers","contributors_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contributors","subscribers_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscribers","subscription_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/subscription","commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/contents/{+path}","compare_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/merges","archive_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/downloads","issues_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues{/number}","pulls_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls{/number}","milestones_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/milestones{/number}","notifications_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/labels{/name}","releases_url":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/releases{/id}","created_at":"2014-06-02T22:17:59Z","updated_at":"2015-08-01T00:50:36Z","pushed_at":"2015-08-10T17:18:24Z","git_url":"git://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","ssh_url":"git@github.com:BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","clone_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK.git","svn_url":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK","homepage":"https://dev.branch.io/references/android_sdk/","size":10821,"stargazers_count":31,"watchers_count":31,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":7,"forks":21,"open_issues":7,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111"},"html":{"href":"https://github.com/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pull/111"},"issue":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/111"},"comments":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/BranchMetrics/Android-Deferred-Deep-Linking-SDK/statuses/2ad66bb71db133fb84a45b96c6701b12b38d0d8a"}}}}