@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-02-19T08:46:08.823+01:00[Europe/Paris]")
public class V2Presence
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_CATEGORY |
static java.lang.String |
JSON_PROPERTY_TIMESTAMP |
static java.lang.String |
JSON_PROPERTY_USER_ID |
Constructor and Description |
---|
V2Presence() |
Modifier and Type | Method and Description |
---|---|
V2Presence |
category(java.lang.String category) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCategory()
Presence status.
|
java.lang.Long |
getTimestamp()
The time, in milliseconds since Jan 1 1970, when the presence state was set.
|
java.lang.Long |
getUserId()
The ID of the user to whom the presence state relates.
|
int |
hashCode() |
void |
setCategory(java.lang.String category) |
void |
setTimestamp(java.lang.Long timestamp) |
void |
setUserId(java.lang.Long userId) |
V2Presence |
timestamp(java.lang.Long timestamp) |
java.lang.String |
toString() |
V2Presence |
userId(java.lang.Long userId) |
public static final java.lang.String JSON_PROPERTY_CATEGORY
public static final java.lang.String JSON_PROPERTY_USER_ID
public static final java.lang.String JSON_PROPERTY_TIMESTAMP
public V2Presence category(java.lang.String category)
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
public V2Presence userId(java.lang.Long userId)
public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public V2Presence timestamp(java.lang.Long timestamp)
public java.lang.Long getTimestamp()
public void setTimestamp(java.lang.Long timestamp)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object