Back to project page TumblifeForAndroid.
The source code is released under:
GNU General Public License
If you think the Android project TumblifeForAndroid 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 jp.mitukiii.tumblife.model; /* w w w . j a v a2s. co m*/ import java.io.Serializable; import java.util.List; public class TLUser extends TLModel implements Serializable { private static final long serialVersionUID = -105340118971840100L; protected List<TLTumblelog> tumblelogs; protected String defaultPostFormat; protected boolean canUploadAudio; protected boolean canUploadAiff; protected boolean canAskQuestion; protected boolean canUploadVideo; protected int maxVideoBytesUploaded; protected int likedPostCount; public TLTumblelog getPrimaryTumblelog() { for (TLTumblelog tumblelog: tumblelogs) { if (tumblelog.isPrimary()) { return tumblelog; } } return null; } public List<TLTumblelog> getTumblelogs() { return tumblelogs; } public void setTumblelogs(List<TLTumblelog> tumblelogs) { this.tumblelogs = tumblelogs; } public String getDefaultPostFormat() { return defaultPostFormat; } public void setDefaultPostFormat(String defaultPostFormat) { this.defaultPostFormat = defaultPostFormat; } public boolean canUploadAudio() { return canUploadAudio; } public void setCanUploadAudio(boolean canUploadAudio) { this.canUploadAudio = canUploadAudio; } public boolean canUploadAiff() { return canUploadAiff; } public void setCanUploadAiff(boolean canUploadAiff) { this.canUploadAiff = canUploadAiff; } public boolean canAskQuestion() { return canAskQuestion; } public void setCanAskQuestion(boolean canAskQuestion) { this.canAskQuestion = canAskQuestion; } public boolean canUploadVideo() { return canUploadVideo; } public void setCanUploadVideo(boolean canUploadVideo) { this.canUploadVideo = canUploadVideo; } public int getMaxVideoBytesUploaded() { return maxVideoBytesUploaded; } public void setMaxVideoBytesUploaded(int maxVideoBytesUploaded) { this.maxVideoBytesUploaded = maxVideoBytesUploaded; } public int getLikedPostCount() { return likedPostCount; } public void setLikedPostCount(int likedPostCount) { this.likedPostCount = likedPostCount; } }