All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.movito.themoviedbapi.model.people.credits.MovieCast Maven / Gradle / Ivy

Go to download

A Java-wrapper around the JSON API provided by TMdB, which is an open database for movie and tv content.

There is a newer version: 2.2.0
Show 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.IdElement;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(value = {"media_type"})
public class MovieCast extends IdElement implements Cast {
    @JsonProperty("character")
    private String character;

    @JsonProperty("order")
    private Integer order;

    @JsonProperty("adult")
    private Boolean adult;

    @JsonProperty("backdrop_path")
    private String backdropPath;

    @JsonProperty("genre_ids")
    private List genreIds;

    @JsonProperty("original_language")
    private String originalLanguage;

    @JsonProperty("original_title")
    private String originalTitle;

    @JsonProperty("overview")
    private String overview;

    @JsonProperty("popularity")
    private Double popularity;

    @JsonProperty("poster_path")
    private String posterPath;

    @JsonProperty("release_date")
    private String releaseDate;

    @JsonProperty("title")
    private String title;

    @JsonProperty("video")
    private Boolean video;

    @JsonProperty("vote_average")
    private Double voteAverage;

    @JsonProperty("vote_count")
    private Integer voteCount;

    @JsonProperty("credit_id")
    private String creditId;

    @Override
    public MediaType getMediaType() {
        return MediaType.MOVIE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy