package allen.town.podcast.sync.gpoddernet.model;

import androidx.annotation.NonNull;

public class GpodnetPodcast {
    private final String url;
    private final String title;
    private final String description;
    private final int subscribers;
    private final String logoUrl;
    private final String website;
    private final String mygpoLink;
    private final String author;

    public GpodnetPodcast(@NonNull String url,
                          @NonNull String title,
                          @NonNull String description,
                          int subscribers,
                          String logoUrl,
                          String website,
                          String mygpoLink,
                          String author
                          ) {
        this.url = url;
        this.title = title;
        this.description = description;
        this.subscribers = subscribers;
        this.logoUrl = logoUrl;
        this.website = website;
        this.mygpoLink = mygpoLink;
        this.author = author;
    }

    @Override
    public String toString() {
        return "GpodnetPodcast [url=" + url + ", title=" + title
                + ", description=" + description + ", subscribers="
                + subscribers + ", logoUrl=" + logoUrl + ", website=" + website
                + ", mygpoLink=" + mygpoLink + "]";
    }

    public String getUrl() {
        return url;
    }

    public String getTitle() {
        return title;
    }

    public String getDescription() {
        return description;
    }

    public int getSubscribers() {
        return subscribers;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public String getWebsite() {
        return website;
    }

    public String getAuthor() { return author; }

    public String getMygpoLink() {
        return mygpoLink;
    }

}
