No longer snapshot
This commit is contained in:
parent
a4ff64bed8
commit
a041230f4c
|
@ -4,7 +4,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'ley.jensmemes'
|
group 'ley.jensmemes'
|
||||||
version '1.0-SNAPSHOT'
|
version '1.0'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -23,15 +23,9 @@ public class CategoryResponse extends Response {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
public String id;
|
public Category category;
|
||||||
|
|
||||||
@Expose
|
|
||||||
public String name;
|
|
||||||
|
|
||||||
public Category toCategory() {
|
public Category toCategory() {
|
||||||
Category category = new Category();
|
|
||||||
category.id = id;
|
|
||||||
category.name = name;
|
|
||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,23 +23,9 @@ public class MemeResponse extends Response {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Expose
|
@Expose
|
||||||
public int id;
|
public Meme meme;
|
||||||
|
|
||||||
@Expose
|
|
||||||
public String link;
|
|
||||||
|
|
||||||
@Expose
|
|
||||||
public String category;
|
|
||||||
|
|
||||||
@Expose
|
|
||||||
public String user;
|
|
||||||
|
|
||||||
public Meme toMeme() {
|
public Meme toMeme() {
|
||||||
Meme meme = new Meme();
|
|
||||||
meme.id = id;
|
|
||||||
meme.link = link;
|
|
||||||
meme.category = category;
|
|
||||||
meme.user = user;
|
|
||||||
return meme;
|
return meme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,4 +25,8 @@ public class UserResponse extends Response {
|
||||||
@Expose
|
@Expose
|
||||||
public User user;
|
public User user;
|
||||||
|
|
||||||
|
public User toUser() {
|
||||||
|
return user;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue