public class Contact
extends java.lang.Object
| Constructor and Description |
|---|
Contact() |
| Modifier and Type | Method and Description |
|---|---|
Contact |
addCustomAttribute(CustomAttribute customAttribute) |
static User |
convert(Contact c,
User u) |
static Contact |
create(Contact c) |
static Contact |
delete(Contact c) |
boolean |
equals(java.lang.Object o) |
static Contact |
findByID(java.lang.String id) |
static Contact |
findByUserID(java.lang.String userID) |
Avatar |
getAvatar() |
CompanyCollection |
getCompanyCollection() |
long |
getCreatedAt() |
java.util.Map<java.lang.String,CustomAttribute> |
getCustomAttributes() |
java.lang.String |
getEmail() |
java.lang.String |
getID() |
long |
getLastRequestAt() |
java.lang.String |
getLastSeenIP() |
LocationData |
getLocationData() |
java.lang.String |
getName() |
java.lang.String |
getPseudonym() |
java.lang.String |
getReplyType() |
SegmentCollection |
getSegmentCollection() |
int |
getSessionCount() |
SocialProfileCollection |
getSocialProfileCollection() |
TagCollection |
getTagCollection() |
java.lang.String |
getType() |
java.lang.Boolean |
getUnsubscribedFromEmails() |
long |
getUpdatedAt() |
java.lang.String |
getUserAgentData() |
java.lang.String |
getUserID() |
int |
hashCode() |
java.lang.Boolean |
isNewSession() |
java.lang.Boolean |
isUpdateLastRequestAt() |
static ContactCollection |
list() |
static ContactCollection |
list(java.util.Map<java.lang.String,java.lang.String> params) |
static ContactCollection |
listByEmail(java.lang.String email) |
Contact |
setCustomAttributes(java.util.Map<java.lang.String,CustomAttribute> customAttributes) |
Contact |
setEmail(java.lang.String email) |
Contact |
setLastRequestAt(long lastRequestAt) |
Contact |
setLastSeenIP(java.lang.String lastSeenIP) |
Contact |
setName(java.lang.String name) |
Contact |
setUnsubscribedFromEmails(boolean unsubscribedFromEmails) |
java.lang.String |
toString() |
Contact |
untag() |
static Contact |
update(Contact c) |
public static Contact findByID(java.lang.String id) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static Contact findByUserID(java.lang.String userID) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static ContactCollection listByEmail(java.lang.String email) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static ContactCollection list(java.util.Map<java.lang.String,java.lang.String> params) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static ContactCollection list() throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static Contact create(Contact c) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static Contact update(Contact c) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static Contact delete(Contact c) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public static User convert(Contact c, User u) throws AuthorizationException, ClientException, ServerException, InvalidException, RateLimitException
public Contact untag()
public java.lang.String getReplyType()
public java.lang.String getType()
public java.lang.String getID()
public java.lang.String getName()
public Contact setName(java.lang.String name)
public java.lang.String getPseudonym()
public java.lang.String getEmail()
public Contact setEmail(java.lang.String email)
public java.lang.String getUserID()
public Avatar getAvatar()
public long getCreatedAt()
public long getUpdatedAt()
public java.lang.Boolean getUnsubscribedFromEmails()
public Contact setUnsubscribedFromEmails(boolean unsubscribedFromEmails)
public int getSessionCount()
public long getLastRequestAt()
public Contact setLastRequestAt(long lastRequestAt)
public java.lang.String getLastSeenIP()
public Contact setLastSeenIP(java.lang.String lastSeenIP)
public java.util.Map<java.lang.String,CustomAttribute> getCustomAttributes()
public Contact setCustomAttributes(java.util.Map<java.lang.String,CustomAttribute> customAttributes)
public Contact addCustomAttribute(CustomAttribute customAttribute)
public java.lang.String getUserAgentData()
public LocationData getLocationData()
public CompanyCollection getCompanyCollection()
public SocialProfileCollection getSocialProfileCollection()
public SegmentCollection getSegmentCollection()
public TagCollection getTagCollection()
public java.lang.Boolean isUpdateLastRequestAt()
public java.lang.Boolean isNewSession()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object