package org.aslak.github.merge.model;

public class PullRequest {

    private int number;
    private RepositoryInfo source;
    private RepositoryInfo target;

    public PullRequest(int number, RepositoryInfo source, RepositoryInfo target) {
        this.number = number;
        this.source = source;
        this.target = target;
    }

    public int getNumber() {
        return number;
    }

    public RepositoryInfo getSource() {
        return source;
    }

    public RepositoryInfo getTarget() {
        return target;
    }

    public PullRequestKey getKey() {
        return new PullRequestKey(target.getUser(), target.getRepository(), number);
    }
}

@@ -661,11 +661,99 @@
 );%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        return getKey().toString();%0A    %7D
 %0A%7D%0A

Add toString override to PullRequest