Package com.symphony.bdk.gen.api
Class AppEntitlementApi
java.lang.Object
com.symphony.bdk.gen.api.AppEntitlementApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-21T12:32:00.966422795Z[Etc/UTC]")
public class AppEntitlementApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.symphony.bdk.http.api.ApiClient
Get the API cilentvoid
setApiClient
(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilentv1AdminAppEntitlementListGet
(String sessionToken) Get the list of application entitlements for the companycom.symphony.bdk.http.api.ApiResponse<List<PodAppEntitlement>>
v1AdminAppEntitlementListGetWithHttpInfo
(String sessionToken) Get the list of application entitlements for the companyv1AdminAppEntitlementListPost
(String sessionToken, List<PodAppEntitlement> payload) Update the application entitlements for the companycom.symphony.bdk.http.api.ApiResponse<List<PodAppEntitlement>>
v1AdminAppEntitlementListPostWithHttpInfo
(String sessionToken, List<PodAppEntitlement> payload) Update the application entitlements for the companyv1AdminUserUidAppEntitlementListGet
(String sessionToken, Long uid) Get the list of application entitlements for this usercom.symphony.bdk.http.api.ApiResponse<List<UserAppEntitlement>>
v1AdminUserUidAppEntitlementListGetWithHttpInfo
(String sessionToken, Long uid) Get the list of application entitlements for this userv1AdminUserUidAppEntitlementListPatch
(String sessionToken, Long uid, List<UserAppEntitlementPatch> payload) Update unique entitlement of an app for this user.com.symphony.bdk.http.api.ApiResponse<List<UserAppEntitlement>>
v1AdminUserUidAppEntitlementListPatchWithHttpInfo
(String sessionToken, Long uid, List<UserAppEntitlementPatch> payload) Update unique entitlement of an app for this user.v1AdminUserUidAppEntitlementListPost
(String sessionToken, Long uid, List<UserAppEntitlement> payload) Update the application entitlements for this usercom.symphony.bdk.http.api.ApiResponse<List<UserAppEntitlement>>
v1AdminUserUidAppEntitlementListPostWithHttpInfo
(String sessionToken, Long uid, List<UserAppEntitlement> payload) Update the application entitlements for this user
-
Constructor Details
-
AppEntitlementApi
public AppEntitlementApi(com.symphony.bdk.http.api.ApiClient apiClient)
-
-
Method Details
-
getApiClient
public com.symphony.bdk.http.api.ApiClient getApiClient()Get the API cilent- Returns:
- API client
-
setApiClient
public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilent- Parameters:
apiClient
- an instance of API client
-
v1AdminAppEntitlementListGet
public List<PodAppEntitlement> v1AdminAppEntitlementListGet(String sessionToken) throws com.symphony.bdk.http.api.ApiException Get the list of application entitlements for the company- Parameters:
sessionToken
- Session authentication token. (required)- Returns:
- List<PodAppEntitlement>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminAppEntitlementListGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<List<PodAppEntitlement>> v1AdminAppEntitlementListGetWithHttpInfo(String sessionToken) throws com.symphony.bdk.http.api.ApiException Get the list of application entitlements for the company- Parameters:
sessionToken
- Session authentication token. (required)- Returns:
- ApiResponse<List<PodAppEntitlement>>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminAppEntitlementListPost
public List<PodAppEntitlement> v1AdminAppEntitlementListPost(String sessionToken, List<PodAppEntitlement> payload) throws com.symphony.bdk.http.api.ApiException Update the application entitlements for the company- Parameters:
sessionToken
- Session authentication token. (required)payload
- (required)- Returns:
- List<PodAppEntitlement>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminAppEntitlementListPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<List<PodAppEntitlement>> v1AdminAppEntitlementListPostWithHttpInfo(String sessionToken, List<PodAppEntitlement> payload) throws com.symphony.bdk.http.api.ApiException Update the application entitlements for the company- Parameters:
sessionToken
- Session authentication token. (required)payload
- (required)- Returns:
- ApiResponse<List<PodAppEntitlement>>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminUserUidAppEntitlementListGet
public List<UserAppEntitlement> v1AdminUserUidAppEntitlementListGet(String sessionToken, Long uid) throws com.symphony.bdk.http.api.ApiException Get the list of application entitlements for this user- Parameters:
sessionToken
- Session authentication token. (required)uid
- User ID as a decimal integer (required)- Returns:
- List<UserAppEntitlement>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminUserUidAppEntitlementListGetWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<List<UserAppEntitlement>> v1AdminUserUidAppEntitlementListGetWithHttpInfo(String sessionToken, Long uid) throws com.symphony.bdk.http.api.ApiException Get the list of application entitlements for this user- Parameters:
sessionToken
- Session authentication token. (required)uid
- User ID as a decimal integer (required)- Returns:
- ApiResponse<List<UserAppEntitlement>>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminUserUidAppEntitlementListPatch
public List<UserAppEntitlement> v1AdminUserUidAppEntitlementListPatch(String sessionToken, Long uid, List<UserAppEntitlementPatch> payload) throws com.symphony.bdk.http.api.ApiException Update unique entitlement of an app for this user. Entitlement can be installation, visibility or product- Parameters:
sessionToken
- Session authentication token. (required)uid
- User ID as a decimal integer (required)payload
- (required)- Returns:
- List<UserAppEntitlement>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminUserUidAppEntitlementListPatchWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<List<UserAppEntitlement>> v1AdminUserUidAppEntitlementListPatchWithHttpInfo(String sessionToken, Long uid, List<UserAppEntitlementPatch> payload) throws com.symphony.bdk.http.api.ApiException Update unique entitlement of an app for this user. Entitlement can be installation, visibility or product- Parameters:
sessionToken
- Session authentication token. (required)uid
- User ID as a decimal integer (required)payload
- (required)- Returns:
- ApiResponse<List<UserAppEntitlement>>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminUserUidAppEntitlementListPost
public List<UserAppEntitlement> v1AdminUserUidAppEntitlementListPost(String sessionToken, Long uid, List<UserAppEntitlement> payload) throws com.symphony.bdk.http.api.ApiException Update the application entitlements for this user- Parameters:
sessionToken
- Session authentication token. (required)uid
- User ID as a decimal integer (required)payload
- (required)- Returns:
- List<UserAppEntitlement>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminUserUidAppEntitlementListPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<List<UserAppEntitlement>> v1AdminUserUidAppEntitlementListPostWithHttpInfo(String sessionToken, Long uid, List<UserAppEntitlement> payload) throws com.symphony.bdk.http.api.ApiException Update the application entitlements for this user- Parameters:
sessionToken
- Session authentication token. (required)uid
- User ID as a decimal integer (required)payload
- (required)- Returns:
- ApiResponse<List<UserAppEntitlement>>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-