ac57816b1d
"List" and "Account" implemenation
99 lines
2.4 KiB
Java
99 lines
2.4 KiB
Java
/*
|
|
* Copyright (c) 2004-2013 Stuart Boston
|
|
*
|
|
* This file is part of TheMovieDB API.
|
|
*
|
|
* TheMovieDB 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.
|
|
*
|
|
* TheMovieDB 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 TheMovieDB API. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
package com.omertron.themoviedbapi.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author Stuart
|
|
*/
|
|
public class CollectionInfo extends AbstractJsonMapping {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/*
|
|
* Properties
|
|
*/
|
|
@JsonProperty("id")
|
|
private int id;
|
|
@JsonProperty("name")
|
|
private String name;
|
|
@JsonProperty("overview")
|
|
private String overview;
|
|
@JsonProperty("poster_path")
|
|
private String posterPath;
|
|
@JsonProperty("backdrop_path")
|
|
private String backdropPath;
|
|
@JsonProperty("parts")
|
|
private List<Collection> parts = new ArrayList<Collection>();
|
|
|
|
//<editor-fold defaultstate="collapsed" desc="Getter methods">
|
|
public String getBackdropPath() {
|
|
return backdropPath;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public String getOverview() {
|
|
return overview;
|
|
}
|
|
|
|
public List<Collection> getParts() {
|
|
return parts;
|
|
}
|
|
|
|
public String getPosterPath() {
|
|
return posterPath;
|
|
}
|
|
|
|
public void setBackdropPath(String backdropPath) {
|
|
this.backdropPath = backdropPath;
|
|
}
|
|
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public void setOverview(String overview) {
|
|
this.overview = overview;
|
|
}
|
|
|
|
public void setParts(List<Collection> parts) {
|
|
this.parts = parts;
|
|
}
|
|
|
|
public void setPosterPath(String posterPath) {
|
|
this.posterPath = posterPath;
|
|
}
|
|
}
|