Class SubscriptionApi
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionlistRoleSubscriptions(String roleTypeOrRoleId) List all Subscriptions of a Custom Role When roleType List all subscriptions of a Role.listRoleSubscriptionsByNotificationType(String roleTypeOrRoleId, String notificationType) List all Subscriptions of a Custom Role with a specific notification type When roleType Get subscriptions of a Role with a specific notification type.org.springframework.http.ResponseEntity<Subscription>listRoleSubscriptionsByNotificationTypeWithHttpInfo(String roleTypeOrRoleId, String notificationType) List all Subscriptions of a Custom Role with a specific notification type When roleType Get subscriptions of a Role with a specific notification type.listRoleSubscriptionsByNotificationTypeWithPaginationInfo(String roleTypeOrRoleId, String notificationType) List all Subscriptions of a Custom Role with a specific notification type When roleType Get subscriptions of a Role with a specific notification type.org.springframework.http.ResponseEntity<List<Subscription>>listRoleSubscriptionsWithHttpInfo(String roleTypeOrRoleId) List all Subscriptions of a Custom Role When roleType List all subscriptions of a Role.listRoleSubscriptionsWithPaginationInfo(String roleTypeOrRoleId) List all Subscriptions of a Custom Role When roleType List all subscriptions of a Role.listUserSubscriptions(String userId) List all Subscriptions Lists all subscriptions of a user.listUserSubscriptionsByNotificationType(String userId, String notificationType) List all Subscriptions by type Lists all the subscriptions of a User with a specific notification type.org.springframework.http.ResponseEntity<Subscription>listUserSubscriptionsByNotificationTypeWithHttpInfo(String userId, String notificationType) List all Subscriptions by type Lists all the subscriptions of a User with a specific notification type.listUserSubscriptionsByNotificationTypeWithPaginationInfo(String userId, String notificationType) List all Subscriptions by type Lists all the subscriptions of a User with a specific notification type.org.springframework.http.ResponseEntity<List<Subscription>>List all Subscriptions Lists all subscriptions of a user.List all Subscriptions Lists all subscriptions of a user.voidsetApiClient(ApiClient apiClient) voidsubscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId, String notificationType) Subscribe a Custom Role to a specific notification type When roleType Subscribes a Role to a specific notification type.org.springframework.http.ResponseEntity<Void>subscribeRoleSubscriptionByNotificationTypeWithHttpInfo(String roleTypeOrRoleId, String notificationType) Subscribe a Custom Role to a specific notification type When roleType Subscribes a Role to a specific notification type.voidsubscribeUserSubscriptionByNotificationType(String userId, String notificationType) Subscribe to a specific notification type Subscribes a User to a specific notification type.org.springframework.http.ResponseEntity<Void>subscribeUserSubscriptionByNotificationTypeWithHttpInfo(String userId, String notificationType) Subscribe to a specific notification type Subscribes a User to a specific notification type.voidunsubscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId, String notificationType) Unsubscribe a Custom Role from a specific notification type When roleType Unsubscribes a Role from a specific notification type.org.springframework.http.ResponseEntity<Void>unsubscribeRoleSubscriptionByNotificationTypeWithHttpInfo(String roleTypeOrRoleId, String notificationType) Unsubscribe a Custom Role from a specific notification type When roleType Unsubscribes a Role from a specific notification type.voidunsubscribeUserSubscriptionByNotificationType(String userId, String notificationType) Unsubscribe from a specific notification type Unsubscribes a User from a specific notification type.org.springframework.http.ResponseEntity<Void>unsubscribeUserSubscriptionByNotificationTypeWithHttpInfo(String userId, String notificationType) Unsubscribe from a specific notification type Unsubscribes a User from a specific notification type. 
- 
Constructor Details
- 
SubscriptionApi
public SubscriptionApi() - 
SubscriptionApi
 
 - 
 - 
Method Details
- 
getApiClient
 - 
setApiClient
 - 
listRoleSubscriptions
public List<Subscription> listRoleSubscriptions(String roleTypeOrRoleId) throws org.springframework.web.client.RestClientException List all Subscriptions of a Custom Role When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)- Returns:
 - List<Subscription>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listRoleSubscriptionsWithHttpInfo
public org.springframework.http.ResponseEntity<List<Subscription>> listRoleSubscriptionsWithHttpInfo(String roleTypeOrRoleId) throws org.springframework.web.client.RestClientException List all Subscriptions of a Custom Role When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)- Returns:
 - ResponseEntity<List<Subscription>>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listRoleSubscriptionsWithPaginationInfo
public PagedList listRoleSubscriptionsWithPaginationInfo(String roleTypeOrRoleId) throws org.springframework.web.client.RestClientException List all Subscriptions of a Custom Role When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)- Returns:
 - ResponseEntity<List<Subscription>>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listRoleSubscriptionsByNotificationType
public Subscription listRoleSubscriptionsByNotificationType(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException List all Subscriptions of a Custom Role with a specific notification type When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Returns:
 - Subscription
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listRoleSubscriptionsByNotificationTypeWithHttpInfo
public org.springframework.http.ResponseEntity<Subscription> listRoleSubscriptionsByNotificationTypeWithHttpInfo(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException List all Subscriptions of a Custom Role with a specific notification type When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Subscription>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listRoleSubscriptionsByNotificationTypeWithPaginationInfo
public PagedList listRoleSubscriptionsByNotificationTypeWithPaginationInfo(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException List all Subscriptions of a Custom Role with a specific notification type When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Subscription>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listUserSubscriptions
public List<Subscription> listUserSubscriptions(String userId) throws org.springframework.web.client.RestClientException List all Subscriptions Lists all subscriptions of a user. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)- Returns:
 - List<Subscription>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listUserSubscriptionsWithHttpInfo
public org.springframework.http.ResponseEntity<List<Subscription>> listUserSubscriptionsWithHttpInfo(String userId) throws org.springframework.web.client.RestClientException List all Subscriptions Lists all subscriptions of a user. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)- Returns:
 - ResponseEntity<List<Subscription>>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listUserSubscriptionsWithPaginationInfo
public PagedList listUserSubscriptionsWithPaginationInfo(String userId) throws org.springframework.web.client.RestClientException List all Subscriptions Lists all subscriptions of a user. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)- Returns:
 - ResponseEntity<List<Subscription>>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listUserSubscriptionsByNotificationType
public Subscription listUserSubscriptionsByNotificationType(String userId, String notificationType) throws org.springframework.web.client.RestClientException List all Subscriptions by type Lists all the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Returns:
 - Subscription
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listUserSubscriptionsByNotificationTypeWithHttpInfo
public org.springframework.http.ResponseEntity<Subscription> listUserSubscriptionsByNotificationTypeWithHttpInfo(String userId, String notificationType) throws org.springframework.web.client.RestClientException List all Subscriptions by type Lists all the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Subscription>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
listUserSubscriptionsByNotificationTypeWithPaginationInfo
public PagedList listUserSubscriptionsByNotificationTypeWithPaginationInfo(String userId, String notificationType) throws org.springframework.web.client.RestClientException List all Subscriptions by type Lists all the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Subscription>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
subscribeRoleSubscriptionByNotificationType
public void subscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException Subscribe a Custom Role to a specific notification type When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
subscribeRoleSubscriptionByNotificationTypeWithHttpInfo
public org.springframework.http.ResponseEntity<Void> subscribeRoleSubscriptionByNotificationTypeWithHttpInfo(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException Subscribe a Custom Role to a specific notification type When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Void>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
subscribeUserSubscriptionByNotificationType
public void subscribeUserSubscriptionByNotificationType(String userId, String notificationType) throws org.springframework.web.client.RestClientException Subscribe to a specific notification type Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
subscribeUserSubscriptionByNotificationTypeWithHttpInfo
public org.springframework.http.ResponseEntity<Void> subscribeUserSubscriptionByNotificationTypeWithHttpInfo(String userId, String notificationType) throws org.springframework.web.client.RestClientException Subscribe to a specific notification type Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Void>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
unsubscribeRoleSubscriptionByNotificationType
public void unsubscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException Unsubscribe a Custom Role from a specific notification type When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
unsubscribeRoleSubscriptionByNotificationTypeWithHttpInfo
public org.springframework.http.ResponseEntity<Void> unsubscribeRoleSubscriptionByNotificationTypeWithHttpInfo(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException Unsubscribe a Custom Role from a specific notification type When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 roleTypeOrRoleId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Void>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
unsubscribeUserSubscriptionByNotificationType
public void unsubscribeUserSubscriptionByNotificationType(String userId, String notificationType) throws org.springframework.web.client.RestClientException Unsubscribe from a specific notification type Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 - 
unsubscribeUserSubscriptionByNotificationTypeWithHttpInfo
public org.springframework.http.ResponseEntity<Void> unsubscribeUserSubscriptionByNotificationTypeWithHttpInfo(String userId, String notificationType) throws org.springframework.web.client.RestClientException Unsubscribe from a specific notification type Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
 userId- (required)notificationType- (required)- Returns:
 - ResponseEntity<Void>
 - Throws:
 org.springframework.web.client.RestClientException- if an error occurs while attempting to invoke the API
 
 -