siuying.gm
Class GMResponse

java.lang.Object
  extended by siuying.gm.GMResponse
Direct Known Subclasses:
GMConversation, GMStandard

public abstract class GMResponse
extends java.lang.Object

Response from GMail Sent from google after we initialize a request

Version:
0.3
Author:
siuying

Field Summary
protected  java.util.TreeMap _gminfo
          General info in this account, required
protected  java.util.TreeMap _gmlabel
          Avaliable Label in this account, required
protected  java.util.ArrayList _threads
          Threads in the response, optional
 byte type
          Type of this response
 
Constructor Summary
GMResponse()
           
GMResponse(java.util.TreeMap gminfo, java.util.TreeMap gmlabel, java.util.ArrayList threads)
           
 
Method Summary
 java.util.TreeMap getGminfo()
           
 java.util.TreeMap getGmlabel()
           
 java.util.ArrayList getGMThreads()
           
 void setGminfo(java.util.TreeMap gminfo)
           
 void setGmlabel(java.util.TreeMap gmlabel)
           
 void setThreads(java.util.ArrayList threads)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_gminfo

protected java.util.TreeMap _gminfo
General info in this account, required


_gmlabel

protected java.util.TreeMap _gmlabel
Avaliable Label in this account, required


_threads

protected java.util.ArrayList _threads
Threads in the response, optional


type

public byte type
Type of this response

Constructor Detail

GMResponse

public GMResponse()

GMResponse

public GMResponse(java.util.TreeMap gminfo,
                  java.util.TreeMap gmlabel,
                  java.util.ArrayList threads)
Method Detail

getGminfo

public java.util.TreeMap getGminfo()

getGmlabel

public java.util.TreeMap getGmlabel()

setGminfo

public void setGminfo(java.util.TreeMap gminfo)

setGmlabel

public void setGmlabel(java.util.TreeMap gmlabel)

getGMThreads

public java.util.ArrayList getGMThreads()

setThreads

public void setThreads(java.util.ArrayList threads)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object