|
|
@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|
|
|
* <li>{@link String name}</li>
|
|
|
|
* <li>{@link String name}</li>
|
|
|
|
* <li>{@link String originalName}</li>
|
|
|
|
* <li>{@link String originalName}</li>
|
|
|
|
* <li>{@link Integer relevance}</li>
|
|
|
|
* <li>{@link Integer relevance}</li>
|
|
|
|
|
|
|
|
* <li>{@link String romaji}</li>
|
|
|
|
* <li>{@link String romajiName}</li>
|
|
|
|
* <li>{@link String romajiName}</li>
|
|
|
|
* <li>{@link String displayPicture}</li>
|
|
|
|
* <li>{@link String displayPicture}</li>
|
|
|
|
* <li>{@link Integer likes}</li>
|
|
|
|
* <li>{@link Integer likes}</li>
|
|
|
@ -39,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|
|
|
"name",
|
|
|
|
"name",
|
|
|
|
"original_name",
|
|
|
|
"original_name",
|
|
|
|
"relevance",
|
|
|
|
"relevance",
|
|
|
|
|
|
|
|
"romaji",
|
|
|
|
"romaji_name",
|
|
|
|
"romaji_name",
|
|
|
|
"display_picture",
|
|
|
|
"display_picture",
|
|
|
|
"description",
|
|
|
|
"description",
|
|
|
@ -82,6 +84,14 @@ public class FilteredWaifu {
|
|
|
|
@JsonPropertyDescription("Relevancy of FilteredWaifu")
|
|
|
|
@JsonPropertyDescription("Relevancy of FilteredWaifu")
|
|
|
|
private Integer relevance;
|
|
|
|
private Integer relevance;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* If this character has a romaji name, we'll put it here.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@JsonProperty("romaji")
|
|
|
|
|
|
|
|
@JsonPropertyDescription("if this character has a romaji name, we'll put it here. ")
|
|
|
|
|
|
|
|
private String romaji;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* If this character has a romaji name, we'll put it here.
|
|
|
|
* If this character has a romaji name, we'll put it here.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -186,6 +196,12 @@ public class FilteredWaifu {
|
|
|
|
@JsonProperty("relevance")
|
|
|
|
@JsonProperty("relevance")
|
|
|
|
public void setRelevance(Integer relevance) { this.relevance = relevance; }
|
|
|
|
public void setRelevance(Integer relevance) { this.relevance = relevance; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@JsonProperty("romaji")
|
|
|
|
|
|
|
|
public String getRomaji() { return romaji; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@JsonProperty("romaji")
|
|
|
|
|
|
|
|
public void setRomaji(String romaji) { this.romaji = romaji; }
|
|
|
|
|
|
|
|
|
|
|
|
@JsonProperty("romaji_name")
|
|
|
|
@JsonProperty("romaji_name")
|
|
|
|
public String getRomajiName() {
|
|
|
|
public String getRomajiName() {
|
|
|
|
return romajiName;
|
|
|
|
return romajiName;
|
|
|
|