@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.SubscriptionApi") public class SubscriptionApi extends Object
Constructor and Description |
---|
SubscriptionApi() |
SubscriptionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
List<Subscription> |
listRoleSubscriptions(String roleTypeOrRoleId)
List all Subscriptions of a Custom Role
When roleType List all subscriptions of a Role.
|
Subscription |
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.
|
PagedList |
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.
|
PagedList |
listRoleSubscriptionsWithPaginationInfo(String roleTypeOrRoleId)
List all Subscriptions of a Custom Role
When roleType List all subscriptions of a Role.
|
List<Subscription> |
listUserSubscriptions(String userId)
List all Subscriptions
Lists all subscriptions of a user.
|
Subscription |
listUserSubscriptionsByNotificationType(String userId,
String notificationType)
List all Subscriptions by type
Lists all the subscriptions of a User with a specific notification type.
|
PagedList |
listUserSubscriptionsByNotificationTypeWithPaginationInfo(String userId,
String notificationType)
List all Subscriptions by type
Lists all the subscriptions of a User with a specific notification type.
|
PagedList |
listUserSubscriptionsWithPaginationInfo(String userId)
List all Subscriptions
Lists all subscriptions of a user.
|
void |
setApiClient(ApiClient apiClient) |
void |
subscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId,
String notificationType)
Subscribe a Custom Role to a specific notification type
When roleType Subscribes a Role to a specific notification type.
|
void |
subscribeUserSubscriptionByNotificationType(String userId,
String notificationType)
Subscribe to a specific notification type
Subscribes a User to a specific notification type.
|
void |
unsubscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId,
String notificationType)
Unsubscribe a Custom Role from a specific notification type
When roleType Unsubscribes a Role from a specific notification type.
|
void |
unsubscribeUserSubscriptionByNotificationType(String userId,
String notificationType)
Unsubscribe from a specific notification type
Unsubscribes a User from a specific notification type.
|
public SubscriptionApi()
@Autowired public SubscriptionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<Subscription> listRoleSubscriptions(String roleTypeOrRoleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
roleTypeOrRoleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listRoleSubscriptionsWithPaginationInfo(String roleTypeOrRoleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
roleTypeOrRoleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Subscription listRoleSubscriptionsByNotificationType(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
roleTypeOrRoleId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listRoleSubscriptionsByNotificationTypeWithPaginationInfo(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
roleTypeOrRoleId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic List<Subscription> listUserSubscriptions(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUserSubscriptionsWithPaginationInfo(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Subscription listUserSubscriptionsByNotificationType(String userId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listUserSubscriptionsByNotificationTypeWithPaginationInfo(String userId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void subscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
roleTypeOrRoleId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void subscribeUserSubscriptionByNotificationType(String userId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unsubscribeRoleSubscriptionByNotificationType(String roleTypeOrRoleId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
roleTypeOrRoleId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unsubscribeUserSubscriptionByNotificationType(String userId, String notificationType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)notificationType
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017–2023 Okta. All rights reserved.