/* * Copyright (c) 2004-2016 Stuart Boston * * This file is part of the FanartTV API. * * The FanartTV API is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * The FanartTV API is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with the FanartTV API. If not, see <http://www.gnu.org/licenses/>. * */ package com.omertron.fanarttvapi.model; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; public class FTLatest extends AbstractJsonMapping implements Serializable { private static final long serialVersionUID = 1L; /* * Data model */ @JsonProperty("id") private String tvdbId = ""; @JsonProperty("tmdb_id") private String tmdbId = ""; @JsonProperty("imdb_id") private String imdbId = ""; @JsonProperty("name") private String name; @JsonProperty("new_images") private int newImages; @JsonProperty("total_images") private int totalImages; public String getTvdbId() { return tvdbId; } public void setTvdbId(String tvdbId) { this.tvdbId = tvdbId; } public String getTmdbId() { return tmdbId; } public void setTmdbId(String tmdbId) { this.tmdbId = tmdbId; } public String getImdbId() { return imdbId; } public void setImdbId(String imdbId) { this.imdbId = imdbId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getNewImages() { return newImages; } public void setNewImages(int newImages) { this.newImages = newImages; } public int getTotalImages() { return totalImages; } public void setTotalImages(int totalImages) { this.totalImages = totalImages; } }