@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2017-12-17T23:29:05.070-05:00") public class PresenceApi extends Object
| Constructor and Description |
|---|
PresenceApi() |
PresenceApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
StringId |
v1PresenceFeedCreatePost(String sessionToken)
Create Presence status feed.
|
StringId |
v1PresenceFeedFeedIdDeletePost(String sessionToken,
String feedId)
Delete a presence status feed.
|
V2PresenceList |
v1PresenceFeedFeedIdReadGet(String sessionToken,
String feedId)
Read a presence status feed.
|
Presence |
v1UserPresenceGet(String sessionToken)
Get presence information about the requesting user.
|
Presence |
v1UserPresencePost(String sessionToken,
Presence presence)
Set the presence of the requesting user.
|
SuccessResponse |
v1UserPresenceRegisterPost(String sessionToken,
UserIdList uidList)
Register interest in a user's presence status
|
Presence |
v1UserUidPresenceGet(Long uid,
String sessionToken)
Get presence information about a particular user.
|
Presence |
v1UserUidPresencePost(Long uid,
String sessionToken,
Presence presence)
LIMITED RELEASE Set presence information for a particular user.
|
V2Presence |
v2UserPresenceGet(String sessionToken)
Get presence information about the requesting user.
|
V2Presence |
v2UserPresencePost(String sessionToken,
V2PresenceStatus presence)
Set the presence of the requesting user.
|
Presence |
v2UserUidPresenceGet(Long uid,
String sessionToken,
Boolean local)
Get presence information about a particular user.
|
V2Presence |
v3UserUidPresenceGet(Long uid,
String sessionToken,
Boolean local)
Get presence information about a particular user.
|
public PresenceApi()
public PresenceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public StringId v1PresenceFeedCreatePost(String sessionToken) throws ApiException
sessionToken - Session authentication token. (required)ApiException - if fails to make API callpublic StringId v1PresenceFeedFeedIdDeletePost(String sessionToken, String feedId) throws ApiException
sessionToken - Session authentication token. (required)feedId - Presence feed ID. (required)ApiException - if fails to make API callpublic V2PresenceList v1PresenceFeedFeedIdReadGet(String sessionToken, String feedId) throws ApiException
sessionToken - Session authentication token. (required)feedId - Presence feed ID. (required)ApiException - if fails to make API callpublic Presence v1UserPresenceGet(String sessionToken) throws ApiException
sessionToken - Session authentication token. (required)ApiException - if fails to make API callpublic Presence v1UserPresencePost(String sessionToken, Presence presence) throws ApiException
sessionToken - Session authentication token. (required)presence - (required)ApiException - if fails to make API callpublic SuccessResponse v1UserPresenceRegisterPost(String sessionToken, UserIdList uidList) throws ApiException
sessionToken - Session authentication token. (required)uidList - List of (integer) User IDs of users whose presence to query (required)ApiException - if fails to make API callpublic Presence v1UserUidPresenceGet(Long uid, String sessionToken) throws ApiException
uid - User ID as a decimal integer (required)sessionToken - Session authentication token. (required)ApiException - if fails to make API callpublic Presence v1UserUidPresencePost(Long uid, String sessionToken, Presence presence) throws ApiException
uid - User ID as a decimal integer (required)sessionToken - Session authentication token. (required)presence - (required)ApiException - if fails to make API callpublic V2Presence v2UserPresenceGet(String sessionToken) throws ApiException
sessionToken - Session authentication token. (required)ApiException - if fails to make API callpublic V2Presence v2UserPresencePost(String sessionToken, V2PresenceStatus presence) throws ApiException
sessionToken - Session authentication token. (required)presence - (required)ApiException - if fails to make API callpublic Presence v2UserUidPresenceGet(Long uid, String sessionToken, Boolean local) throws ApiException
uid - User ID as a decimal integer (required)sessionToken - Session authentication token. (required)local - If true, a local query will be performed and the presence will be set to OFFLINE for users who are not local to the calling user's pod. If false or absent, then the presence of all local users and the presence of all external users to whom the calling user is connected will be queried. For external users, a \"presence interest\" should be registered through /v1/user/presence/register before querying for presence. (optional, default to false)ApiException - if fails to make API callpublic V2Presence v3UserUidPresenceGet(Long uid, String sessionToken, Boolean local) throws ApiException
uid - User ID as a decimal integer (required)sessionToken - Session authentication token. (required)local - If true, a local query will be performed and the presence will be set to OFFLINE for users who are not local to the calling user's pod. If false or absent, then the presence of all local users and the presence of all external users to whom the calling user is connected will be queried. For external users, a \"presence interest\" should be registered through /v1/user/presence/register before querying for presence. (optional, default to false)ApiException - if fails to make API callCopyright © 2017 Symphony Software Foundation. All rights reserved.