Back to project page android-model-record.
The source code is released under:
MIT License
If you think the Android project android-model-record 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 com.fanpics.opensource.android.modelrecord.sample.data.model; //from w ww . j a va 2 s . c o m import com.google.gson.annotations.SerializedName; import io.realm.RealmObject; public class ImgurItem extends RealmObject { private String title; @SerializedName("link") private String imageUrl; public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getImageUrl() { return imageUrl; } public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; } public static void cloneInto(ImgurItem cloneFrom, ImgurItem cloneTo) { cloneTo.setTitle(cloneFrom.getTitle()); cloneTo.setImageUrl(cloneFrom.getImageUrl()); } }