Class AppEntitlementApi

java.lang.Object
com.symphony.bdk.gen.api.AppEntitlementApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:56.804588655Z[Etc/UTC]") public class AppEntitlementApi extends Object
  • 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