@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.SubscriptionApi")
public class SubscriptionApi
extends java.lang.Object
Constructor and Description |
---|
SubscriptionApi() |
SubscriptionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
java.util.List<Subscription> |
listRoleSubscriptions(java.lang.String roleTypeOrRoleId)
List all Subscriptions of a Custom Role
When roleType List all subscriptions of a Role.
|
Subscription |
listRoleSubscriptionsByNotificationType(java.lang.String roleTypeOrRoleId,
java.lang.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(java.lang.String roleTypeOrRoleId,
java.lang.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(java.lang.String roleTypeOrRoleId)
List all Subscriptions of a Custom Role
When roleType List all subscriptions of a Role.
|
java.util.List<Subscription> |
listUserSubscriptions(java.lang.String userId)
List all Subscriptions
Lists all subscriptions of a user.
|
Subscription |
listUserSubscriptionsByNotificationType(java.lang.String userId,
java.lang.String notificationType)
List all Subscriptions by type
Lists all the subscriptions of a User with a specific notification type.
|
PagedList |
listUserSubscriptionsByNotificationTypeWithPaginationInfo(java.lang.String userId,
java.lang.String notificationType)
List all Subscriptions by type
Lists all the subscriptions of a User with a specific notification type.
|
PagedList |
listUserSubscriptionsWithPaginationInfo(java.lang.String userId)
List all Subscriptions
Lists all subscriptions of a user.
|
void |
setApiClient(ApiClient apiClient) |
void |
subscribeRoleSubscriptionByNotificationType(java.lang.String roleTypeOrRoleId,
java.lang.String notificationType)
Subscribe a Custom Role to a specific notification type
When roleType Subscribes a Role to a specific notification type.
|
void |
subscribeUserSubscriptionByNotificationType(java.lang.String userId,
java.lang.String notificationType)
Subscribe to a specific notification type
Subscribes a User to a specific notification type.
|
void |
unsubscribeRoleSubscriptionByNotificationType(java.lang.String roleTypeOrRoleId,
java.lang.String notificationType)
Unsubscribe a Custom Role from a specific notification type
When roleType Unsubscribes a Role from a specific notification type.
|
void |
unsubscribeUserSubscriptionByNotificationType(java.lang.String userId,
java.lang.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 java.util.List<Subscription> listRoleSubscriptions(java.lang.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(java.lang.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(java.lang.String roleTypeOrRoleId, java.lang.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(java.lang.String roleTypeOrRoleId, java.lang.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 java.util.List<Subscription> listUserSubscriptions(java.lang.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(java.lang.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(java.lang.String userId, java.lang.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(java.lang.String userId, java.lang.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(java.lang.String roleTypeOrRoleId, java.lang.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(java.lang.String userId, java.lang.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(java.lang.String roleTypeOrRoleId, java.lang.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(java.lang.String userId, java.lang.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-2022 Okta. All Rights Reserved.