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 3 years ago
parent 27868ca1e6
commit 0b4afb2280

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

Loading…
Cancel
Save