Back to project page uppidy-android-sdk.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project uppidy-android-sdk 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.uppidy.android.sdk.api; // www. j av a 2 s . c om import java.util.List; import org.springframework.util.MultiValueMap; /** * Transport object for the synchronization operation * * Part of the Uppidy Web Services API * * @author arudnev@uppidy.com */ public class ApiSync extends ApiEntity { private String clientVersion; private ApiLocation location; private List<ApiMessage> messages; private List<ApiConversation> conversations; private List<ApiContact> contacts; public String getClientVersion() { return clientVersion; } public void setClientVersion(String clientVersion) { this.clientVersion = clientVersion; } /** * @return the location */ public ApiLocation getLocation() { return location; } /** * @param location * the location to set */ public void setLocation(ApiLocation location) { this.location = location; } public List<ApiMessage> getMessages() { return messages; } public List<ApiContact> getContacts() { return contacts; } public List<ApiConversation> getConversations() { return conversations; } public void setMessages(List<ApiMessage> messages) { this.messages = messages; } public void setContacts(List<ApiContact> contacts) { this.contacts = contacts; } public void setConversations(List<ApiConversation> conversations) { this.conversations = conversations; } @Override public void copyFromRef(MultiValueMap<String, ApiEntity> map) { super.copyFromRef(map); copyFromRefs(messages, map); copyFromRefs(contacts, map); copyFromRefs(conversations, map); } }