Back to project page dw2020.
The source code is released under:
Apache License
If you think the Android project dw2020 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.darkwire.example.model; /*w ww. j av a 2 s . co m*/ import java.util.ArrayList; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.gson.annotations.SerializedName; /** * Created by fsiu on 3/21/14. */ @JsonIgnoreProperties(ignoreUnknown = true) public class FiveHundredPxPhotoContainer { @JsonProperty("current_page") @SerializedName("current_page") private int currentPage; @JsonProperty("total_pages") @SerializedName("total_pages") private int totalPages; private ArrayList<FiveHundredPxPhoto> photos; public int getCurrentPage() { return currentPage; } public void setCurrentPage(int currentPage) { this.currentPage = currentPage; } public int getTotalPages() { return totalPages; } public void setTotalPages(int totalPages) { this.totalPages = totalPages; } public ArrayList<FiveHundredPxPhoto> getPhotos() { return photos; } public void setPhotos(ArrayList<FiveHundredPxPhoto> photos) { this.photos = photos; } }