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 w w.ja v a2 s. c o m import android.os.Parcel; import android.os.Parcelable; 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 FiveHundredPxImageMetadata implements Parcelable { private int size; private String url; @JsonProperty("https_url") @SerializedName("https_url") private String httpsUrl; public int getSize() { return size; } public void setSize(int size) { this.size = size; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getHttpsUrl() { return httpsUrl; } public void setHttpsUrl(String httpsUrl) { this.httpsUrl = httpsUrl; } @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.size); dest.writeString(this.url); dest.writeString(this.httpsUrl); } public FiveHundredPxImageMetadata() { } private FiveHundredPxImageMetadata(Parcel in) { this.size = in.readInt(); this.url = in.readString(); this.httpsUrl = in.readString(); } public static Parcelable.Creator<FiveHundredPxImageMetadata> CREATOR = new Parcelable.Creator<FiveHundredPxImageMetadata>() { public FiveHundredPxImageMetadata createFromParcel(Parcel source) { return new FiveHundredPxImageMetadata(source); } public FiveHundredPxImageMetadata[] newArray(int size) { return new FiveHundredPxImageMetadata[size]; } }; }