siuying.gm
Class GMConversation
java.lang.Object
siuying.gm.GMResponse
siuying.gm.GMConversation
- All Implemented Interfaces:
- java.io.Serializable
public class GMConversation
- extends GMResponse
- implements java.io.Serializable
Response from GMail that is a conversation
Each conversation contains one title, one id, set of labels and entries(message)
- Version:
- 0.3.4
- Author:
- siuying
- See Also:
- Serialized Form
|
Field Summary |
byte |
type
Type of this response |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
public byte type
- Type of this response
GMConversation
public GMConversation()
GMConversation
public GMConversation(java.util.TreeMap gminfo,
java.util.TreeMap gmlabel,
java.util.ArrayList threads)
toString
public java.lang.String toString()
- Overrides:
toString in class GMResponse
getEntriesId
public java.lang.String[] getEntriesId()
- get id of the entries, in String array
- Returns:
- String[] ids of entries in the conversation
- Since:
- 0.3.3.4
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
setTotal
public void setTotal(int total)
getTotal
public int getTotal()
getType
public byte getType()
setType
public void setType(byte type)
setLabels
public void setLabels(java.util.ArrayList labels)
setLabels
public void setLabels(java.lang.String[] labels)
getEntriesArray
public GMConversationEntry[] getEntriesArray()
getEntries
public java.util.ArrayList getEntries()
setEntries
public void setEntries(java.util.ArrayList entries)
addEntries
public void addEntries(GMConversationEntry entry)
getLabels
public java.util.ArrayList getLabels()
equals
public boolean equals(GMConversationEntry target)