package org.fakekoji.model;

import java.util.Objects;

public class BuildProvider {

    private final String id;
    private final String label;
    private final String topUrl;
    private final String downloadUrl;

    public BuildProvider() {
        id = null;
        label = null;
        topUrl = null;
        downloadUrl = null;
    }

    public BuildProvider(
            String id,
            String label,
            String topUrl,
            String downloadUrl
    ) {
        this.id = id;
        this.label = label;
        this.topUrl = topUrl;
        this.downloadUrl = downloadUrl;
    }

    public String getId() {
        return id;
    }

    public String getLabel() {
        return label;
    }

    public String getTopUrl() {
        return topUrl;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof BuildProvider)) return false;
        BuildProvider that = (BuildProvider) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(label, that.label) &&
                Objects.equals(topUrl, that.topUrl) &&
                Objects.equals(downloadUrl, that.downloadUrl);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, label, topUrl, downloadUrl);
    }

    @Override
    public String toString() {
        return "BuildProvider{" +
                "id='" + id + '\'' +
                ", label='" + label + '\'' +
                ", topUrl='" + topUrl + '\'' +
                ", downloadUrl='" + downloadUrl + '\'' +
                '}';
    }
}

@@ -210,16 +210,57 @@
 loadUrl;
+%0A    private final String packageInfoUrl;
 %0A%0A    pu
@@ -370,24 +370,55 @@
 Url = null;%0A
+        packageInfoUrl = null;%0A
     %7D%0A%0A    p
@@ -544,16 +544,57 @@
 nloadUrl
+,%0A            final String packageInfoUrl
 %0A    ) %7B
@@ -706,32 +706,78 @@
  = downloadUrl;%0A
+        this.packageInfoUrl = packageInfoUrl;%0A
     %7D%0A%0A    publi
@@ -1007,32 +1007,110 @@
 loadUrl;%0A    %7D%0A%0A
+    public String getPackageInfoUrl() %7B%0A        return packageInfoUrl;%0A    %7D%0A%0A
     @Override%0A  
@@ -1493,32 +1493,103 @@
 hat.downloadUrl)
+ &&%0A                Objects.equals(packageInfoUrl, that.packageInfoUrl)
 ;%0A    %7D%0A%0A    @Ov
@@ -1681,16 +1681,32 @@
 nloadUrl
+, packageInfoUrl
 );%0A    %7D
@@ -1964,32 +1964,95 @@
 oadUrl + '%5C'' +%0A
+                %22, packageInfoUrl='%22 + packageInfoUrl + '%5C'' +%0A
                 

Add packageInfoUrl to BuildProvider