Back to project page Amphitheatre.
The source code is released under:
Apache License
If you think the Android project Amphitheatre listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2014 Jerrell Mardis/*from w w w.j av a2s. c o m*/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.jerrellmardis.amphitheatre.model.tmdb; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class SearchResult { private Integer page; private Integer total_pages; private Integer total_results; private List<Result> results = new ArrayList<Result>(); private Map<String, Object> additionalProperties = new HashMap<String, Object>(); public Integer getPage() { return page; } public void setPage(Integer page) { this.page = page; } public List<Result> getResults() { return results; } public void setResults(List<Result> results) { this.results = results; } public Integer getTotal_pages() { return total_pages; } public void setTotal_pages(Integer total_pages) { this.total_pages = total_pages; } public Integer getTotal_results() { return total_results; } public void setTotal_results(Integer total_results) { this.total_results = total_results; } public Map<String, Object> getAdditionalProperties() { return this.additionalProperties; } public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } public static class Result { private Long id; private Boolean adult; private String backdrop_path; private String original_title; private String release_date; private String poster_path; private Double popularity; private String title; private Double vote_average; private Integer vote_count; private String original_name; private String first_air_date; private String name; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Boolean getAdult() { return adult; } public void setAdult(Boolean adult) { this.adult = adult; } public String getBackdrop_path() { return backdrop_path; } public void setBackdrop_path(String backdrop_path) { this.backdrop_path = backdrop_path; } public String getOriginal_title() { return original_title; } public void setOriginal_title(String original_title) { this.original_title = original_title; } public String getRelease_date() { return release_date; } public void setRelease_date(String release_date) { this.release_date = release_date; } public String getPoster_path() { return poster_path; } public void setPoster_path(String poster_path) { this.poster_path = poster_path; } public Double getPopularity() { return popularity; } public void setPopularity(Double popularity) { this.popularity = popularity; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public Double getVote_average() { return vote_average; } public void setVote_average(Double vote_average) { this.vote_average = vote_average; } public Integer getVote_count() { return vote_count; } public void setVote_count(Integer vote_count) { this.vote_count = vote_count; } public String getOriginal_name() { return original_name; } public void setOriginal_name(String original_name) { this.original_name = original_name; } public String getFirst_air_date() { return first_air_date; } public void setFirst_air_date(String first_air_date) { this.first_air_date = first_air_date; } public String getName() { return name; } public void setName(String name) { this.name = name; } } }