com.omertron.imdbapi.model.ImdbTrailer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-imdb Show documentation
Show all versions of api-imdb Show documentation
API for the mobile JSON API of IMDB
package com.omertron.imdbapi.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class ImdbTrailer extends AbstractJsonMapping {
@JsonProperty("description")
private String description = "";
@JsonProperty("duration_seconds")
private int durationSeconds = -1;
@JsonProperty("content_type")
private String contentType = "";
@JsonProperty("id")
private String id = "";
@JsonProperty("title")
private String title = "";
@JsonProperty("@type")
private String type = "";
@JsonProperty("relatedTitle")
private ImdbMovie relatedMovie = new ImdbMovie();
@JsonProperty("relatedName")
private ImdbPerson relatedName = new ImdbPerson();
@JsonProperty("slates")
private List slates = Collections.emptyList();
@JsonProperty("encodings")
private Map encodings = Collections.emptyMap();
public Map getEncodings() {
return encodings;
}
public void setEncodings(Map encodings) {
this.encodings = encodings;
}
public List getSlates() {
return slates;
}
public void setSlates(List slates) {
this.slates = slates;
}
public ImdbMovie getRelatedMovie() {
return relatedMovie;
}
public void setRelatedMovie(ImdbMovie relatedMovie) {
this.relatedMovie = relatedMovie;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public int getDurationSeconds() {
return durationSeconds;
}
public void setDurationSeconds(int durationSeconds) {
this.durationSeconds = durationSeconds;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public ImdbPerson getRelatedName() {
return relatedName;
}
public void setRelatedName(ImdbPerson relatedName) {
this.relatedName = relatedName;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2026 Weber Informatics LLC | Privacy Policy