summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/miroguide/model/MiroChannel.java
blob: 87812052bf65fff83457d069e8df1800080074ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package de.danoeh.antennapod.miroguide.model;

import java.util.ArrayList;

public class MiroChannel {
	private long id;
	private String name;
	private String thumbnailUrl;
	private String downloadUrl;
	private String websiteUrl;
	private String description;
	private ArrayList<MiroItem> items;

	public MiroChannel(long id, String name, String thumbnailUrl,
			String downloadUrl, String websiteUrl, String description) {
		super();
		this.id = id;
		this.name = name;
		this.thumbnailUrl = thumbnailUrl;
		this.downloadUrl = downloadUrl;
		this.websiteUrl = websiteUrl;
		this.description = description;
	}

	public MiroChannel(long id, String name, String thumbnailUrl,
			String downloadUrl, String websiteUrl, String description,
			ArrayList<MiroItem> items) {
		super();
		this.id = id;
		this.name = name;
		this.thumbnailUrl = thumbnailUrl;
		this.downloadUrl = downloadUrl;
		this.websiteUrl = websiteUrl;
		this.description = description;
		this.items = items;
	}

	@Override
	public String toString() {
		return id + " " + name;
	}

	public long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getThumbnailUrl() {
		return thumbnailUrl;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public String getWebsiteUrl() {
		return websiteUrl;
	}

	public String getDescription() {
		return description;
	}

	public ArrayList<MiroItem> getItems() {
		return items;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}

}