info.movito.themoviedbapi.model.people.credits.TvCast Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of themoviedbapi Show documentation
Show all versions of themoviedbapi Show documentation
A Java-wrapper around the JSON API provided by TMdB, which is an open database for movie and tv content.
The newest version!
package info.movito.themoviedbapi.model.people.credits;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import info.movito.themoviedbapi.model.core.NamedIdElement;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(value = {"media_type"})
public class TvCast extends NamedIdElement implements Cast {
@JsonProperty("adult")
private Boolean adult;
@JsonProperty("backdrop_path")
private String backdropPath;
@JsonProperty("genre_ids")
private List genreIds;
@JsonProperty("origin_country")
private List originCountry;
@JsonProperty("original_language")
private String originalLanguage;
@JsonProperty("original_name")
private String originalName;
@JsonProperty("overview")
private String overview;
@JsonProperty("popularity")
private Double popularity;
@JsonProperty("poster_path")
private String posterPath;
@JsonProperty("first_air_date")
private String firstAirDate;
@JsonProperty("vote_average")
private Double voteAverage;
@JsonProperty("vote_count")
private Integer voteCount;
@JsonProperty("character")
private String character;
@JsonProperty("credit_id")
private String creditId;
@JsonProperty("episode_count")
private Integer episodeCount;
@Override
public MediaType getMediaType() {
return MediaType.TV;
}
}