@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class SubscriptionRestApi extends Object
Constructor and Description |
---|
SubscriptionRestApi() |
SubscriptionRestApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
JobSubscription |
createJobSubscription(String sessionid,
JobSubscriptionRequest jobSubscriptionRequest)
Creates a new job subscription
|
ApiResponse<JobSubscription> |
createJobSubscriptionWithHttpInfo(String sessionid,
JobSubscriptionRequest jobSubscriptionRequest)
Creates a new job subscription
|
Subscription |
deleteSubscriptionById(String sessionid,
Long id)
Deletes a users job subscription
|
ApiResponse<Subscription> |
deleteSubscriptionByIdWithHttpInfo(String sessionid,
Long id)
Deletes a users job subscription
|
ApiClient |
getApiClient()
Get the API client
|
Subscription |
getChannelSubscription(String sessionid)
Retrieves the channel subscription of a user
|
ApiResponse<Subscription> |
getChannelSubscriptionWithHttpInfo(String sessionid)
Retrieves the channel subscription of a user
|
Subscription |
getJobPlannerSubscription(String sessionid)
Retrieves the job planner subscription of a user
|
ApiResponse<Subscription> |
getJobPlannerSubscriptionWithHttpInfo(String sessionid)
Retrieves the job planner subscription of a user
|
List<Subscription> |
getJobSubscriptions(String sessionid)
Retrieves the job subscriptions of a user
|
ApiResponse<List<Subscription>> |
getJobSubscriptionsWithHttpInfo(String sessionid)
Retrieves the job subscriptions of a user
|
Subscription |
getPcaSubscription(String sessionid)
Retrieves the PCA subscription of a user
|
ApiResponse<Subscription> |
getPcaSubscriptionWithHttpInfo(String sessionid)
Retrieves the PCA subscription of a user
|
Subscription |
getRmSubscription(String sessionid)
Retrieves the RM subscription of a user
|
ApiResponse<Subscription> |
getRmSubscriptionWithHttpInfo(String sessionid)
Retrieves the RM subscription of a user
|
Subscription |
getSchedulerSubscription(String sessionid)
Creates a new scheduler subscription
|
ApiResponse<Subscription> |
getSchedulerSubscriptionWithHttpInfo(String sessionid)
Creates a new scheduler subscription
|
Map<String,Boolean> |
isNotificationMethodsAvailable(String sessionId)
Gets available notification methods
|
ApiResponse<Map<String,Boolean>> |
isNotificationMethodsAvailableWithHttpInfo(String sessionId)
Gets available notification methods
|
void |
setApiClient(ApiClient apiClient)
Set the API client
|
Subscription |
updateChannelSubscription(String sessionid,
ChannelSubscriptionUpdate channelSubscriptionUpdate)
Updates a channel subscription
|
ApiResponse<Subscription> |
updateChannelSubscriptionWithHttpInfo(String sessionid,
ChannelSubscriptionUpdate channelSubscriptionUpdate)
Updates a channel subscription
|
Subscription |
updateJobPlannerSubscription(String sessionid,
JobPlannerSubscriptionUpdate jobPlannerSubscriptionUpdate)
Updates a job planner subscription
|
ApiResponse<Subscription> |
updateJobPlannerSubscriptionWithHttpInfo(String sessionid,
JobPlannerSubscriptionUpdate jobPlannerSubscriptionUpdate)
Updates a job planner subscription
|
JobSubscription |
updateJobSubscription(String sessionid,
JobSubscriptionUpdate jobSubscriptionUpdate)
Updates a job subscription
|
ApiResponse<JobSubscription> |
updateJobSubscriptionWithHttpInfo(String sessionid,
JobSubscriptionUpdate jobSubscriptionUpdate)
Updates a job subscription
|
Subscription |
updatePcaSubscription(String sessionid,
PcaSubscriptionUpdate pcaSubscriptionUpdate)
Updates a PCA subscription
|
ApiResponse<Subscription> |
updatePcaSubscriptionWithHttpInfo(String sessionid,
PcaSubscriptionUpdate pcaSubscriptionUpdate)
Updates a PCA subscription
|
Subscription |
updateRmSubscription(String sessionid,
RmSubscriptionUpdate rmSubscriptionUpdate)
Updates a RM subscription
|
ApiResponse<Subscription> |
updateRmSubscriptionWithHttpInfo(String sessionid,
RmSubscriptionUpdate rmSubscriptionUpdate)
Updates a RM subscription
|
Subscription |
updateSchedulerSubscription(String sessionid,
SchedulerSubscriptionUpdate schedulerSubscriptionUpdate)
Updates a scheduler subscription
|
ApiResponse<Subscription> |
updateSchedulerSubscriptionWithHttpInfo(String sessionid,
SchedulerSubscriptionUpdate schedulerSubscriptionUpdate)
Updates a scheduler subscription
|
public SubscriptionRestApi()
public SubscriptionRestApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic JobSubscription createJobSubscription(String sessionid, JobSubscriptionRequest jobSubscriptionRequest) throws ApiException
sessionid
- (required)jobSubscriptionRequest
- (required)ApiException
- if fails to make API callpublic ApiResponse<JobSubscription> createJobSubscriptionWithHttpInfo(String sessionid, JobSubscriptionRequest jobSubscriptionRequest) throws ApiException
sessionid
- (required)jobSubscriptionRequest
- (required)ApiException
- if fails to make API callpublic Subscription deleteSubscriptionById(String sessionid, Long id) throws ApiException
sessionid
- (required)id
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> deleteSubscriptionByIdWithHttpInfo(String sessionid, Long id) throws ApiException
sessionid
- (required)id
- (required)ApiException
- if fails to make API callpublic Subscription getChannelSubscription(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> getChannelSubscriptionWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic Subscription getJobPlannerSubscription(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> getJobPlannerSubscriptionWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic List<Subscription> getJobSubscriptions(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Subscription>> getJobSubscriptionsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic Subscription getPcaSubscription(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> getPcaSubscriptionWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic Subscription getRmSubscription(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> getRmSubscriptionWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic Subscription getSchedulerSubscription(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> getSchedulerSubscriptionWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic Map<String,Boolean> isNotificationMethodsAvailable(String sessionId) throws ApiException
sessionId
- (required)ApiException
- if fails to make API callpublic ApiResponse<Map<String,Boolean>> isNotificationMethodsAvailableWithHttpInfo(String sessionId) throws ApiException
sessionId
- (required)ApiException
- if fails to make API callpublic Subscription updateChannelSubscription(String sessionid, ChannelSubscriptionUpdate channelSubscriptionUpdate) throws ApiException
sessionid
- (required)channelSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> updateChannelSubscriptionWithHttpInfo(String sessionid, ChannelSubscriptionUpdate channelSubscriptionUpdate) throws ApiException
sessionid
- (required)channelSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic Subscription updateJobPlannerSubscription(String sessionid, JobPlannerSubscriptionUpdate jobPlannerSubscriptionUpdate) throws ApiException
sessionid
- (required)jobPlannerSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> updateJobPlannerSubscriptionWithHttpInfo(String sessionid, JobPlannerSubscriptionUpdate jobPlannerSubscriptionUpdate) throws ApiException
sessionid
- (required)jobPlannerSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic JobSubscription updateJobSubscription(String sessionid, JobSubscriptionUpdate jobSubscriptionUpdate) throws ApiException
sessionid
- (required)jobSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<JobSubscription> updateJobSubscriptionWithHttpInfo(String sessionid, JobSubscriptionUpdate jobSubscriptionUpdate) throws ApiException
sessionid
- (required)jobSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic Subscription updatePcaSubscription(String sessionid, PcaSubscriptionUpdate pcaSubscriptionUpdate) throws ApiException
sessionid
- (required)pcaSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> updatePcaSubscriptionWithHttpInfo(String sessionid, PcaSubscriptionUpdate pcaSubscriptionUpdate) throws ApiException
sessionid
- (required)pcaSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic Subscription updateRmSubscription(String sessionid, RmSubscriptionUpdate rmSubscriptionUpdate) throws ApiException
sessionid
- (required)rmSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> updateRmSubscriptionWithHttpInfo(String sessionid, RmSubscriptionUpdate rmSubscriptionUpdate) throws ApiException
sessionid
- (required)rmSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic Subscription updateSchedulerSubscription(String sessionid, SchedulerSubscriptionUpdate schedulerSubscriptionUpdate) throws ApiException
sessionid
- (required)schedulerSubscriptionUpdate
- (required)ApiException
- if fails to make API callpublic ApiResponse<Subscription> updateSchedulerSubscriptionWithHttpInfo(String sessionid, SchedulerSubscriptionUpdate schedulerSubscriptionUpdate) throws ApiException
sessionid
- (required)schedulerSubscriptionUpdate
- (required)ApiException
- if fails to make API call