{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/57490487","id":57490487,"diff_hunk":"@@ -0,0 +1,358 @@\n+/*\n+ * Copyright 2016 Google Inc. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *       http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package com.google.gcloud.dns;\n+\n+import static com.google.common.base.Preconditions.checkNotNull;\n+\n+import com.google.api.services.dns.model.Change;\n+import com.google.common.base.Function;\n+import com.google.common.base.MoreObjects;\n+import com.google.common.collect.ImmutableList;\n+import com.google.common.collect.Lists;\n+\n+import org.joda.time.DateTime;\n+import org.joda.time.format.ISODateTimeFormat;\n+\n+import java.io.Serializable;\n+import java.util.LinkedList;\n+import java.util.List;\n+import java.util.Objects;\n+\n+/**\n+ * A class representing an atomic update to a collection of {@link RecordSet}s within a {@code\n+ * Zone}.\n+ *\n+ * @see <a href=\"https://cloud.google.com/dns/api/v1/changes\">Google Cloud DNS documentation</a>\n+ */\n+public class ChangeRequestInfo implements Serializable {\n+\n+  static final Function<Change, ChangeRequestInfo> FROM_PB_FUNCTION =\n+      new Function<Change, ChangeRequestInfo>() {\n+        @Override\n+        public ChangeRequestInfo apply(Change pb) {\n+          return ChangeRequestInfo.fromPb(pb);\n+        }\n+      };\n+  private static final long serialVersionUID = -9027378042756366333L;\n+  private final List<RecordSet> additions;\n+  private final List<RecordSet> deletions;\n+  private final String id;\n+  private final Long startTimeMillis;\n+  private final ChangeRequestInfo.Status status;\n+\n+  /**\n+   * This enumerates the possible states of a change request.\n+   *\n+   * @see <a href=\"https://cloud.google.com/dns/api/v1/changes#resource\">Google Cloud DNS\n+   * documentation</a>\n+   */\n+  public enum Status {\n+    PENDING,\n+    DONE\n+  }\n+\n+  /**\n+   * A builder for {@code ChangeRequestInfo}.\n+   */\n+  public abstract static class Builder {\n+\n+    /**\n+     * Sets a collection of {@link RecordSet}s which are to be added to the zone upon executing this\n+     * {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder additions(List<RecordSet> additions);\n+\n+    /**\n+     * Sets a collection of {@link RecordSet}s which are to be deleted from the zone upon executing\n+     * this {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder deletions(List<RecordSet> deletions);\n+\n+    /**\n+     * Adds a {@link RecordSet} to be <strong>added</strong> to the zone upon executing this {@code\n+     * ChangeRequestInfo}.\n+     */\n+    public abstract Builder add(RecordSet recordSet);\n+\n+    /**\n+     * Adds a {@link RecordSet} to be <strong>deleted</strong> to the zone upon executing this\n+     * {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder delete(RecordSet recordSet);\n+\n+    /**\n+     * Clears the collection of {@link RecordSet}s which are to be added to the zone upon executing\n+     * this {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder clearAdditions();\n+\n+    /**\n+     * Clears the collection of {@link RecordSet}s which are to be deleted from the zone upon\n+     * executing this {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder clearDeletions();\n+\n+    /**\n+     * Removes a single {@link RecordSet} from the collection of records to be\n+     * <strong>added</strong> to the zone upon executing this {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder removeAddition(RecordSet recordSet);\n+\n+    /**\n+     * Removes a single {@link RecordSet} from the collection of records to be\n+     * <strong>deleted</strong> from the zone upon executing this {@code ChangeRequestInfo}.\n+     */\n+    public abstract Builder removeDeletion(RecordSet recordSet);\n+\n+    /**\n+     * Associates a server-assigned id to this {@code ChangeRequestInfo}.\n+     */\n+    abstract Builder id(String id);\n+\n+    /**\n+     * Sets the time when this change request was started by a server.\n+     */\n+    abstract Builder startTimeMillis(long startTimeMillis);\n+\n+    /**\n+     * Sets the current status of this {@code ChangeRequest}.\n+     */\n+    abstract Builder status(ChangeRequest.Status status);\n+\n+    /**\n+     * Creates a {@code ChangeRequestInfo} instance populated by the values associated with this\n+     * builder.\n+     */\n+    public abstract ChangeRequestInfo build();\n+  }\n+\n+  static class BuilderImpl extends Builder {\n+    private List<RecordSet> additions;\n+    private List<RecordSet> deletions;\n+    private String id;\n+    private Long startTimeMillis;\n+    private ChangeRequestInfo.Status status;\n+\n+    BuilderImpl() {\n+      this.additions = new LinkedList<>();\n+      this.deletions = new LinkedList<>();\n+    }\n+\n+    BuilderImpl(ChangeRequestInfo info) {\n+      this.additions = Lists.newLinkedList(info.additions());\n+      this.deletions = Lists.newLinkedList(info.deletions());\n+      this.id = info.id();\n+      this.startTimeMillis = info.startTimeMillis;\n+      this.status = info.status;\n+    }\n+\n+    @Override\n+    public Builder additions(List<RecordSet> additions) {\n+      this.additions = Lists.newLinkedList(checkNotNull(additions));\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder deletions(List<RecordSet> deletions) {\n+      this.deletions = Lists.newLinkedList(checkNotNull(deletions));\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder add(RecordSet recordSet) {\n+      this.additions.add(checkNotNull(recordSet));\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder delete(RecordSet recordSet) {\n+      this.deletions.add(checkNotNull(recordSet));\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder clearAdditions() {\n+      this.additions.clear();\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder clearDeletions() {\n+      this.deletions.clear();\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder removeAddition(RecordSet recordSet) {\n+      this.additions.remove(recordSet);\n+      return this;\n+    }\n+\n+    @Override\n+    public Builder removeDeletion(RecordSet recordSet) {\n+      this.deletions.remove(recordSet);\n+      return this;\n+    }\n+\n+    @Override\n+    public ChangeRequestInfo build() {\n+      return new ChangeRequestInfo(this);\n+    }\n+\n+    @Override\n+    Builder id(String id) {\n+      this.id = checkNotNull(id);\n+      return this;\n+    }\n+\n+    @Override\n+    Builder startTimeMillis(long startTimeMillis) {\n+      this.startTimeMillis = startTimeMillis;\n+      return this;\n+    }\n+\n+    @Override\n+    Builder status(ChangeRequestInfo.Status status) {\n+      this.status = checkNotNull(status);\n+      return this;\n+    }\n+  }\n+\n+  ChangeRequestInfo(BuilderImpl builder) {\n+    this.additions = ImmutableList.copyOf(builder.additions);\n+    this.deletions = ImmutableList.copyOf(builder.deletions);\n+    this.id = builder.id;\n+    this.startTimeMillis = builder.startTimeMillis;\n+    this.status = builder.status;\n+  }\n+\n+  /**\n+   * Returns an empty builder for the {@code ChangeRequestInfo} class.\n+   */\n+  public static Builder builder() {\n+    return new BuilderImpl();\n+  }\n+\n+  /**\n+   * Creates a builder populated with values of this {@code ChangeRequestInfo}.\n+   */\n+  public Builder toBuilder() {\n+    return new BuilderImpl(this);\n+  }\n+\n+  /**\n+   * Returns the list of {@link RecordSet}s to be added to the zone upon submitting this change\n+   * request.\n+   */\n+  public List<RecordSet> additions() {\n+    return additions;\n+  }\n+\n+  /**\n+   * Returns the list of {@link RecordSet}s to be deleted from the zone upon submitting this change\n+   * request.\n+   */\n+  public List<RecordSet> deletions() {\n+    return deletions;\n+  }\n+\n+  /**\n+   * Returns the id assigned to this {@code ChangeRequest} by the server.\n+   */\n+  public String id() {\n+    return id;\n+  }\n+\n+  /**\n+   * Returns the time when this {@code ChangeRequest} was started by the server.\n+   */\n+  public Long startTimeMillis() {\n+    return startTimeMillis;\n+  }\n+\n+  /**\n+   * Returns the status of this {@code ChangeRequest}.\n+   */\n+  public ChangeRequestInfo.Status status() {\n+    return status;\n+  }\n+\n+  com.google.api.services.dns.model.Change toPb() {\n+    com.google.api.services.dns.model.Change pb =\n+        new com.google.api.services.dns.model.Change();\n+    // set id\n+    if (id() != null) {\n+      pb.setId(id());\n+    }\n+    // set timestamp\n+    if (startTimeMillis() != null) {\n+      pb.setStartTime(ISODateTimeFormat.dateTime().withZoneUTC().print(startTimeMillis()));\n+    }\n+    // set status\n+    if (status() != null) {\n+      pb.setStatus(status().name().toLowerCase());\n+    }\n+    // set a list of additions\n+    pb.setAdditions(Lists.transform(additions(), RecordSet.TO_PB_FUNCTION));\n+    // set a list of deletions\n+    pb.setDeletions(Lists.transform(deletions(), RecordSet.TO_PB_FUNCTION));\n+    return pb;\n+  }\n+\n+  static ChangeRequestInfo fromPb(com.google.api.services.dns.model.Change pb) {\n+    Builder builder = builder();\n+    if (pb.getId() != null) {\n+      builder.id(pb.getId());\n+    }\n+    if (pb.getStartTime() != null) {\n+      builder.startTimeMillis(DateTime.parse(pb.getStartTime()).getMillis());\n+    }\n+    if (pb.getStatus() != null) {\n+      // we are assuming that status indicated in pb is a lower case version of the enum name\n+      builder.status(ChangeRequest.Status.valueOf(pb.getStatus().toUpperCase()));\n+    }\n+    if (pb.getDeletions() != null) {\n+      builder.deletions(Lists.transform(pb.getDeletions(), RecordSet.FROM_PB_FUNCTION));\n+    }\n+    if (pb.getAdditions() != null) {\n+      builder.additions(Lists.transform(pb.getAdditions(), RecordSet.FROM_PB_FUNCTION));\n+    }\n+    return builder.build();\n+  }\n+\n+  @Override\n+  public boolean equals(Object other) {\n+    return (other instanceof ChangeRequestInfo)","path":"gcloud-java-dns/src/main/java/com/google/gcloud/dns/ChangeRequestInfo.java","position":339,"original_position":339,"commit_id":"d47cc9976ae73c27b02c9c028bac84b168ea1c04","original_commit_id":"d47cc9976ae73c27b02c9c028bac84b168ea1c04","user":{"login":"mderka","id":1192586,"avatar_url":"https://avatars.githubusercontent.com/u/1192586?v=3","gravatar_id":"","url":"https://api.github.com/users/mderka","html_url":"https://github.com/mderka","followers_url":"https://api.github.com/users/mderka/followers","following_url":"https://api.github.com/users/mderka/following{/other_user}","gists_url":"https://api.github.com/users/mderka/gists{/gist_id}","starred_url":"https://api.github.com/users/mderka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mderka/subscriptions","organizations_url":"https://api.github.com/users/mderka/orgs","repos_url":"https://api.github.com/users/mderka/repos","events_url":"https://api.github.com/users/mderka/events{/privacy}","received_events_url":"https://api.github.com/users/mderka/received_events","type":"User","site_admin":false},"body":"Fixed.","created_at":"2016-03-25T20:59:04Z","updated_at":"2016-03-25T20:59:04Z","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/789#discussion_r57490487","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments/57490487"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/789#discussion_r57490487"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789","id":64177693,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/789","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/789.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/789.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/789","number":789,"state":"open","locked":false,"title":"Turned ChangeRequest into a functional object.","user":{"login":"mderka","id":1192586,"avatar_url":"https://avatars.githubusercontent.com/u/1192586?v=3","gravatar_id":"","url":"https://api.github.com/users/mderka","html_url":"https://github.com/mderka","followers_url":"https://api.github.com/users/mderka/followers","following_url":"https://api.github.com/users/mderka/following{/other_user}","gists_url":"https://api.github.com/users/mderka/gists{/gist_id}","starred_url":"https://api.github.com/users/mderka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mderka/subscriptions","organizations_url":"https://api.github.com/users/mderka/orgs","repos_url":"https://api.github.com/users/mderka/repos","events_url":"https://api.github.com/users/mderka/events{/privacy}","received_events_url":"https://api.github.com/users/mderka/received_events","type":"User","site_admin":false},"body":"This fixed #679.\r\n\r\nI will adjust documentation when the code review on this is nearing the end. Created an issue #788.","created_at":"2016-03-25T16:09:59Z","updated_at":"2016-03-25T20:59:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa075471cb361cd92baa00d2847c5fd7e2741ad2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/789/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/d47cc9976ae73c27b02c9c028bac84b168ea1c04","head":{"label":"mderka:change-request-functional","ref":"change-request-functional","sha":"d47cc9976ae73c27b02c9c028bac84b168ea1c04","user":{"login":"mderka","id":1192586,"avatar_url":"https://avatars.githubusercontent.com/u/1192586?v=3","gravatar_id":"","url":"https://api.github.com/users/mderka","html_url":"https://github.com/mderka","followers_url":"https://api.github.com/users/mderka/followers","following_url":"https://api.github.com/users/mderka/following{/other_user}","gists_url":"https://api.github.com/users/mderka/gists{/gist_id}","starred_url":"https://api.github.com/users/mderka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mderka/subscriptions","organizations_url":"https://api.github.com/users/mderka/orgs","repos_url":"https://api.github.com/users/mderka/repos","events_url":"https://api.github.com/users/mderka/events{/privacy}","received_events_url":"https://api.github.com/users/mderka/received_events","type":"User","site_admin":false},"repo":{"id":49172330,"name":"gcloud-java","full_name":"mderka/gcloud-java","owner":{"login":"mderka","id":1192586,"avatar_url":"https://avatars.githubusercontent.com/u/1192586?v=3","gravatar_id":"","url":"https://api.github.com/users/mderka","html_url":"https://github.com/mderka","followers_url":"https://api.github.com/users/mderka/followers","following_url":"https://api.github.com/users/mderka/following{/other_user}","gists_url":"https://api.github.com/users/mderka/gists{/gist_id}","starred_url":"https://api.github.com/users/mderka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mderka/subscriptions","organizations_url":"https://api.github.com/users/mderka/orgs","repos_url":"https://api.github.com/users/mderka/repos","events_url":"https://api.github.com/users/mderka/events{/privacy}","received_events_url":"https://api.github.com/users/mderka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mderka/gcloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/mderka/gcloud-java","forks_url":"https://api.github.com/repos/mderka/gcloud-java/forks","keys_url":"https://api.github.com/repos/mderka/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mderka/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mderka/gcloud-java/teams","hooks_url":"https://api.github.com/repos/mderka/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/mderka/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/mderka/gcloud-java/events","assignees_url":"https://api.github.com/repos/mderka/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/mderka/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/mderka/gcloud-java/tags","blobs_url":"https://api.github.com/repos/mderka/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mderka/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mderka/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/mderka/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mderka/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/mderka/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/mderka/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/mderka/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/mderka/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/mderka/gcloud-java/subscription","commits_url":"https://api.github.com/repos/mderka/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/mderka/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/mderka/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/mderka/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/mderka/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/mderka/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mderka/gcloud-java/merges","archive_url":"https://api.github.com/repos/mderka/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mderka/gcloud-java/downloads","issues_url":"https://api.github.com/repos/mderka/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/mderka/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/mderka/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/mderka/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mderka/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/mderka/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/mderka/gcloud-java/deployments","created_at":"2016-01-07T01:16:58Z","updated_at":"2016-01-11T19:05:33Z","pushed_at":"2016-03-25T17:35:12Z","git_url":"git://github.com/mderka/gcloud-java.git","ssh_url":"git@github.com:mderka/gcloud-java.git","clone_url":"https://github.com/mderka/gcloud-java.git","svn_url":"https://github.com/mderka/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/","size":14429,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:dns-alpha","ref":"dns-alpha","sha":"96e28d606004a5392195c250d899e25b80b34815","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":26181278,"name":"gcloud-java","full_name":"GoogleCloudPlatform/gcloud-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2016-03-25T03:58:12Z","pushed_at":"2016-03-25T20:32:18Z","git_url":"git://github.com/GoogleCloudPlatform/gcloud-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/gcloud-java.git","clone_url":"https://github.com/GoogleCloudPlatform/gcloud-java.git","svn_url":"https://github.com/GoogleCloudPlatform/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/","size":218453,"stargazers_count":75,"watchers_count":75,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":40,"mirror_url":null,"open_issues_count":130,"forks":40,"open_issues":130,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/789"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/789"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/789/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/789/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/statuses/d47cc9976ae73c27b02c9c028bac84b168ea1c04"}}}}