Package com.symphony.api.model
Class V2Presence
- java.lang.Object
-
- com.symphony.api.model.V2PresenceStatus
-
- com.symphony.api.model.V2UserPresence
-
- com.symphony.api.model.V2Presence
-
public class V2Presence extends V2UserPresence
-
-
Constructor Summary
Constructors Constructor Description V2Presence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getTimestamp()
The time, in milliseconds since Jan 1 1970, when the presence state was set.void
setTimestamp(Long timestamp)
V2Presence
timestamp(Long timestamp)
String
toString()
-
Methods inherited from class com.symphony.api.model.V2UserPresence
getUserId, setUserId, userId
-
Methods inherited from class com.symphony.api.model.V2PresenceStatus
category, getCategory, setCategory
-
-
-
-
Method Detail
-
getTimestamp
public Long getTimestamp()
The time, in milliseconds since Jan 1 1970, when the presence state was set.- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(Long timestamp)
-
timestamp
public V2Presence timestamp(Long timestamp)
-
toString
public String toString()
- Overrides:
toString
in classV2UserPresence
-
-