aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org')
-rw-r--r--app/src/main/java/org/marcinzelent/liberavem/Bird.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/src/main/java/org/marcinzelent/liberavem/Bird.java b/app/src/main/java/org/marcinzelent/liberavem/Bird.java
new file mode 100644
index 0000000..668059c
--- /dev/null
+++ b/app/src/main/java/org/marcinzelent/liberavem/Bird.java
@@ -0,0 +1,37 @@
+package org.marcinzelent.liberavem;
+
+public class Bird {
+ private int Id;
+ private long Created;
+ private String NameEnglish;
+ private String NameDanish;
+ private String PhotoUrl;
+
+ public Bird(int id, long created, String nameEnglish, String nameDanish, String photoUrl) {
+ Id = id;
+ Created = created;
+ NameEnglish = nameEnglish;
+ NameDanish = nameDanish;
+ PhotoUrl = photoUrl;
+ }
+
+ public int getId() {
+ return Id;
+ }
+
+ public long getCreated() {
+ return Created;
+ }
+
+ public String getNameEnglish() {
+ return NameEnglish;
+ }
+
+ public String getNameDanish() {
+ return NameDanish;
+ }
+
+ public String getPhotoUrl() {
+ return PhotoUrl;
+ }
+}