@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-18T12:11:35.250Z[Etc/UTC]")
public class PresenceApi
extends java.lang.Object
Constructor and Description |
---|
PresenceApi(com.symphony.bdk.http.api.ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
com.symphony.bdk.http.api.ApiClient |
getApiClient()
Get the API cilent
|
void |
setApiClient(com.symphony.bdk.http.api.ApiClient apiClient)
Set the API cilent
|
StringId |
v1PresenceFeedCreatePost(java.lang.String sessionToken)
Create Presence status feed.
|
com.symphony.bdk.http.api.ApiResponse<StringId> |
v1PresenceFeedCreatePostWithHttpInfo(java.lang.String sessionToken)
Create Presence status feed.
|
StringId |
v1PresenceFeedFeedIdDeletePost(java.lang.String sessionToken,
java.lang.String feedId)
Delete a presence status feed.
|
com.symphony.bdk.http.api.ApiResponse<StringId> |
v1PresenceFeedFeedIdDeletePostWithHttpInfo(java.lang.String sessionToken,
java.lang.String feedId)
Delete a presence status feed.
|
java.util.List<V2Presence> |
v1PresenceFeedFeedIdReadGet(java.lang.String sessionToken,
java.lang.String feedId)
Read a presence status feed.
|
com.symphony.bdk.http.api.ApiResponse<java.util.List<V2Presence>> |
v1PresenceFeedFeedIdReadGetWithHttpInfo(java.lang.String sessionToken,
java.lang.String feedId)
Read a presence status feed.
|
Presence |
v1UserPresenceGet(java.lang.String sessionToken)
Deprecated.
|
com.symphony.bdk.http.api.ApiResponse<Presence> |
v1UserPresenceGetWithHttpInfo(java.lang.String sessionToken)
Deprecated.
|
Presence |
v1UserPresencePost(java.lang.String sessionToken,
Presence presence)
Deprecated.
|
com.symphony.bdk.http.api.ApiResponse<Presence> |
v1UserPresencePostWithHttpInfo(java.lang.String sessionToken,
Presence presence)
Deprecated.
|
SuccessResponse |
v1UserPresenceRegisterPost(java.lang.String sessionToken,
java.util.List<java.lang.Long> uidList)
Register interest in a user's presence status
|
com.symphony.bdk.http.api.ApiResponse<SuccessResponse> |
v1UserPresenceRegisterPostWithHttpInfo(java.lang.String sessionToken,
java.util.List<java.lang.Long> uidList)
Register interest in a user's presence status
|
Presence |
v1UserUidPresenceGet(java.lang.Long uid,
java.lang.String sessionToken)
Deprecated.
|
com.symphony.bdk.http.api.ApiResponse<Presence> |
v1UserUidPresenceGetWithHttpInfo(java.lang.Long uid,
java.lang.String sessionToken)
Deprecated.
|
Presence |
v1UserUidPresencePost(java.lang.Long uid,
java.lang.String sessionToken,
Presence presence)
Deprecated.
|
com.symphony.bdk.http.api.ApiResponse<Presence> |
v1UserUidPresencePostWithHttpInfo(java.lang.Long uid,
java.lang.String sessionToken,
Presence presence)
Deprecated.
|
V2Presence |
v2UserPresenceGet(java.lang.String sessionToken)
Get presence information about the requesting user.
|
com.symphony.bdk.http.api.ApiResponse<V2Presence> |
v2UserPresenceGetWithHttpInfo(java.lang.String sessionToken)
Get presence information about the requesting user.
|
V2Presence |
v2UserPresencePost(java.lang.String sessionToken,
V2PresenceStatus presence,
java.lang.Boolean soft)
Set the presence of the requesting user.
|
com.symphony.bdk.http.api.ApiResponse<V2Presence> |
v2UserPresencePostWithHttpInfo(java.lang.String sessionToken,
V2PresenceStatus presence,
java.lang.Boolean soft)
Set the presence of the requesting user.
|
java.util.List<V2Presence> |
v2UsersPresenceGet(java.lang.String sessionToken,
java.lang.Long lastUserId,
java.lang.Integer limit)
Get presence information about all company (pod) users.
|
com.symphony.bdk.http.api.ApiResponse<java.util.List<V2Presence>> |
v2UsersPresenceGetWithHttpInfo(java.lang.String sessionToken,
java.lang.Long lastUserId,
java.lang.Integer limit)
Get presence information about all company (pod) users.
|
Presence |
v2UserUidPresenceGet(java.lang.Long uid,
java.lang.String sessionToken,
java.lang.Boolean local)
Deprecated.
|
com.symphony.bdk.http.api.ApiResponse<Presence> |
v2UserUidPresenceGetWithHttpInfo(java.lang.Long uid,
java.lang.String sessionToken,
java.lang.Boolean local)
Deprecated.
|
V2Presence |
v3UserPresencePost(java.lang.String sessionToken,
V2UserPresence presence,
java.lang.Boolean soft)
Set presence information for a particular user.
|
com.symphony.bdk.http.api.ApiResponse<V2Presence> |
v3UserPresencePostWithHttpInfo(java.lang.String sessionToken,
V2UserPresence presence,
java.lang.Boolean soft)
Set presence information for a particular user.
|
V2Presence |
v3UserUidPresenceGet(java.lang.Long uid,
java.lang.String sessionToken,
java.lang.Boolean local)
Get presence information about a particular user.
|
com.symphony.bdk.http.api.ApiResponse<V2Presence> |
v3UserUidPresenceGetWithHttpInfo(java.lang.Long uid,
java.lang.String sessionToken,
java.lang.Boolean local)
Get presence information about a particular user.
|
public com.symphony.bdk.http.api.ApiClient getApiClient()
public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient)
apiClient
- an instance of API clientpublic StringId v1PresenceFeedCreatePost(java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<StringId> v1PresenceFeedCreatePostWithHttpInfo(java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic StringId v1PresenceFeedFeedIdDeletePost(java.lang.String sessionToken, java.lang.String feedId) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)feedId
- Presence feed ID. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<StringId> v1PresenceFeedFeedIdDeletePostWithHttpInfo(java.lang.String sessionToken, java.lang.String feedId) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)feedId
- Presence feed ID. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic java.util.List<V2Presence> v1PresenceFeedFeedIdReadGet(java.lang.String sessionToken, java.lang.String feedId) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)feedId
- Presence feed ID. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<java.util.List<V2Presence>> v1PresenceFeedFeedIdReadGetWithHttpInfo(java.lang.String sessionToken, java.lang.String feedId) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)feedId
- Presence feed ID. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public Presence v1UserPresenceGet(java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public com.symphony.bdk.http.api.ApiResponse<Presence> v1UserPresenceGetWithHttpInfo(java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public Presence v1UserPresencePost(java.lang.String sessionToken, Presence presence) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)presence
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public com.symphony.bdk.http.api.ApiResponse<Presence> v1UserPresencePostWithHttpInfo(java.lang.String sessionToken, Presence presence) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)presence
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic SuccessResponse v1UserPresenceRegisterPost(java.lang.String sessionToken, java.util.List<java.lang.Long> uidList) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)uidList
- List of (integer) User IDs of users whose presence to query (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<SuccessResponse> v1UserPresenceRegisterPostWithHttpInfo(java.lang.String sessionToken, java.util.List<java.lang.Long> uidList) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)uidList
- List of (integer) User IDs of users whose presence to query (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public Presence v1UserUidPresenceGet(java.lang.Long uid, java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
uid
- User ID as a decimal integer (required)sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public com.symphony.bdk.http.api.ApiResponse<Presence> v1UserUidPresenceGetWithHttpInfo(java.lang.Long uid, java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
uid
- User ID as a decimal integer (required)sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public Presence v1UserUidPresencePost(java.lang.Long uid, java.lang.String sessionToken, Presence presence) throws com.symphony.bdk.http.api.ApiException
uid
- User ID as a decimal integer (required)sessionToken
- Session authentication token. (required)presence
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public com.symphony.bdk.http.api.ApiResponse<Presence> v1UserUidPresencePostWithHttpInfo(java.lang.Long uid, java.lang.String sessionToken, Presence presence) throws com.symphony.bdk.http.api.ApiException
uid
- User ID as a decimal integer (required)sessionToken
- Session authentication token. (required)presence
- (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic V2Presence v2UserPresenceGet(java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<V2Presence> v2UserPresenceGetWithHttpInfo(java.lang.String sessionToken) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic V2Presence v2UserPresencePost(java.lang.String sessionToken, V2PresenceStatus presence, java.lang.Boolean soft) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)presence
- (required)soft
- If true, the user's current status is taken into consideration. If the user is currently OFFLINE, the user's presence will still be OFFLINE, but the new presence will take effect when the user comes online. If the user is currently online, the user's activity state will be applied to the presence if applicable. (e.g. if you are setting their presence to AVAILABLE, but the user is currently idle, their status will be represented as AWAY) (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<V2Presence> v2UserPresencePostWithHttpInfo(java.lang.String sessionToken, V2PresenceStatus presence, java.lang.Boolean soft) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)presence
- (required)soft
- If true, the user's current status is taken into consideration. If the user is currently OFFLINE, the user's presence will still be OFFLINE, but the new presence will take effect when the user comes online. If the user is currently online, the user's activity state will be applied to the presence if applicable. (e.g. if you are setting their presence to AVAILABLE, but the user is currently idle, their status will be represented as AWAY) (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public Presence v2UserUidPresenceGet(java.lang.Long uid, java.lang.String sessionToken, java.lang.Boolean local) throws com.symphony.bdk.http.api.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)com.symphony.bdk.http.api.ApiException
- if fails to make API call@Deprecated public com.symphony.bdk.http.api.ApiResponse<Presence> v2UserUidPresenceGetWithHttpInfo(java.lang.Long uid, java.lang.String sessionToken, java.lang.Boolean local) throws com.symphony.bdk.http.api.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)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic java.util.List<V2Presence> v2UsersPresenceGet(java.lang.String sessionToken, java.lang.Long lastUserId, java.lang.Integer limit) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)lastUserId
- Last user ID retrieved. Used for paging; if provided, results will skip users with IDs less than this parameter. (optional)limit
- Max number of records to return. If no value is provided, 1000 is the default. The maximum supported value is 5000. (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<java.util.List<V2Presence>> v2UsersPresenceGetWithHttpInfo(java.lang.String sessionToken, java.lang.Long lastUserId, java.lang.Integer limit) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)lastUserId
- Last user ID retrieved. Used for paging; if provided, results will skip users with IDs less than this parameter. (optional)limit
- Max number of records to return. If no value is provided, 1000 is the default. The maximum supported value is 5000. (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic V2Presence v3UserPresencePost(java.lang.String sessionToken, V2UserPresence presence, java.lang.Boolean soft) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)presence
- (required)soft
- If true, the user's current status is taken into consideration. If the user is currently OFFLINE, the user's presence will still be OFFLINE, but the new presence will take effect when the user comes online. If the user is currently online, the user's activity state will be applied to the presence if applicable. (e.g. if you are setting their presence to AVAILABLE, but the user is currently idle, their status will be represented as AWAY) (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<V2Presence> v3UserPresencePostWithHttpInfo(java.lang.String sessionToken, V2UserPresence presence, java.lang.Boolean soft) throws com.symphony.bdk.http.api.ApiException
sessionToken
- Session authentication token. (required)presence
- (required)soft
- If true, the user's current status is taken into consideration. If the user is currently OFFLINE, the user's presence will still be OFFLINE, but the new presence will take effect when the user comes online. If the user is currently online, the user's activity state will be applied to the presence if applicable. (e.g. if you are setting their presence to AVAILABLE, but the user is currently idle, their status will be represented as AWAY) (optional)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic V2Presence v3UserUidPresenceGet(java.lang.Long uid, java.lang.String sessionToken, java.lang.Boolean local) throws com.symphony.bdk.http.api.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)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<V2Presence> v3UserUidPresenceGetWithHttpInfo(java.lang.Long uid, java.lang.String sessionToken, java.lang.Boolean local) throws com.symphony.bdk.http.api.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)com.symphony.bdk.http.api.ApiException
- if fails to make API call