Update documentation & add new fields

The API was returning fields that were not specified in the API reference, Series.java has been updated to reflect the actual API response
pull/6/head
Hammy 4 years ago
parent 27868ca1e6
commit 0b4afb2280

@ -26,6 +26,7 @@ import java.util.Objects;
* <li>{@link String displayPicture}</li> * <li>{@link String displayPicture}</li>
* <li>{@link String url}</li> * <li>{@link String url}</li>
* <li>{@link Studio}</li> * <li>{@link Studio}</li>
* <li>{@link String} type</li>
* <li>{@link Integer id}</li> * <li>{@link Integer id}</li>
* </ul> * </ul>
* *
@ -44,6 +45,7 @@ import java.util.Objects;
"display_picture", "display_picture",
"url", "url",
"studio", "studio",
"type",
"id" "id"
}) })
@Generated("jsonschema2pojo") @Generated("jsonschema2pojo")
@ -145,6 +147,14 @@ public class Series {
@JsonPropertyDescription("Contains information on a given animation or game development studio") @JsonPropertyDescription("Contains information on a given animation or game development studio")
private Studio studio; private Studio studio;
/**
* Type of {@link Series}. E.g TV, Game
*
*/
@JsonProperty("type")
@JsonPropertyDescription("Type of FilteredSeries. E.g TV, Game")
private String type;
/** /**
* The internal ID of the {@link Series} * The internal ID of the {@link Series}
* *
@ -271,6 +281,12 @@ public class Series {
this.studio = studio; this.studio = studio;
} }
@JsonProperty("type")
public String getType() { return type; }
@JsonProperty("type")
public void setType(String type) { this.type = type; }
@JsonProperty("id") @JsonProperty("id")
public Integer getId() { public Integer getId() {
return id; return id;

Loading…
Cancel
Save