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