Class PushProviderApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
createPushProvider
(Class<?> T, PushProvider pushProvider) Create a Push Provider Creates a new push providercreatePushProvider
(PushProvider pushProvider) Create a Push Provider Creates a new push providerorg.springframework.http.ResponseEntity<PushProvider>
createPushProviderWithHttpInfo
(PushProvider pushProvider) Create a Push Provider Creates a new push providercreatePushProviderWithPaginationInfo
(PushProvider pushProvider) Create a Push Provider Creates a new push providervoid
deletePushProvider
(String pushProviderId) Delete a Push Provider Deletes a push provider by `pushProviderId`.org.springframework.http.ResponseEntity<Void>
deletePushProviderWithHttpInfo
(String pushProviderId) Delete a Push Provider Deletes a push provider by `pushProviderId`.getPushProvider
(String pushProviderId) Retrieve a Push Provider Retrieves a push provider by `pushProviderId`org.springframework.http.ResponseEntity<PushProvider>
getPushProviderWithHttpInfo
(String pushProviderId) Retrieve a Push Provider Retrieves a push provider by `pushProviderId`getPushProviderWithPaginationInfo
(String pushProviderId) Retrieve a Push Provider Retrieves a push provider by `pushProviderId`List all Push Providers Lists all push providersorg.springframework.http.ResponseEntity<List<PushProvider>>
List all Push Providers Lists all push providersList all Push Providers Lists all push providers<T> T
replacePushProvider
(Class<?> T, String pushProviderId, PushProvider pushProvider) Replace a Push Provider Replaces a push provider by `pushProviderId`replacePushProvider
(String pushProviderId, PushProvider pushProvider) Replace a Push Provider Replaces a push provider by `pushProviderId`org.springframework.http.ResponseEntity<PushProvider>
replacePushProviderWithHttpInfo
(String pushProviderId, PushProvider pushProvider) Replace a Push Provider Replaces a push provider by `pushProviderId`replacePushProviderWithPaginationInfo
(String pushProviderId, PushProvider pushProvider) Replace a Push Provider Replaces a push provider by `pushProviderId`void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
PushProviderApi
public PushProviderApi() -
PushProviderApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createPushProvider
public PushProvider createPushProvider(PushProvider pushProvider) throws org.springframework.web.client.RestClientException Create a Push Provider Creates a new push provider200 - OK
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
pushProvider
- (required)- Returns:
- PushProvider
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPushProvider
public <T> T createPushProvider(Class<?> T, PushProvider pushProvider) throws org.springframework.web.client.RestClientException Create a Push Provider Creates a new push provider200 - OK
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typepushProvider
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPushProviderWithHttpInfo
public org.springframework.http.ResponseEntity<PushProvider> createPushProviderWithHttpInfo(PushProvider pushProvider) throws org.springframework.web.client.RestClientException Create a Push Provider Creates a new push provider200 - OK
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
pushProvider
- (required)- Returns:
- ResponseEntity<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPushProviderWithPaginationInfo
public PagedList createPushProviderWithPaginationInfo(PushProvider pushProvider) throws org.springframework.web.client.RestClientException Create a Push Provider Creates a new push provider200 - OK
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
pushProvider
- (required)- Returns:
- ResponseEntity<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deletePushProvider
public void deletePushProvider(String pushProviderId) throws org.springframework.web.client.RestClientException Delete a Push Provider Deletes a push provider by `pushProviderId`. If the push provider is currently being used in the org by a custom authenticator, the delete will not be allowed.204 - No Content
403 - Forbidden
404 - Not Found
409 - Conflict
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deletePushProviderWithHttpInfo
public org.springframework.http.ResponseEntity<Void> deletePushProviderWithHttpInfo(String pushProviderId) throws org.springframework.web.client.RestClientException Delete a Push Provider Deletes a push provider by `pushProviderId`. If the push provider is currently being used in the org by a custom authenticator, the delete will not be allowed.204 - No Content
403 - Forbidden
404 - Not Found
409 - Conflict
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPushProvider
public PushProvider getPushProvider(String pushProviderId) throws org.springframework.web.client.RestClientException Retrieve a Push Provider Retrieves a push provider by `pushProviderId`200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)- Returns:
- PushProvider
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPushProviderWithHttpInfo
public org.springframework.http.ResponseEntity<PushProvider> getPushProviderWithHttpInfo(String pushProviderId) throws org.springframework.web.client.RestClientException Retrieve a Push Provider Retrieves a push provider by `pushProviderId`200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)- Returns:
- ResponseEntity<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPushProviderWithPaginationInfo
public PagedList getPushProviderWithPaginationInfo(String pushProviderId) throws org.springframework.web.client.RestClientException Retrieve a Push Provider Retrieves a push provider by `pushProviderId`200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)- Returns:
- ResponseEntity<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPushProviders
public List<PushProvider> listPushProviders(ProviderType type) throws org.springframework.web.client.RestClientException List all Push Providers Lists all push providers200 - OK
403 - Forbidden
429 - Too Many Requests
- Parameters:
type
- Filters push providers by `providerType` (optional)- Returns:
- List<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPushProvidersWithHttpInfo
public org.springframework.http.ResponseEntity<List<PushProvider>> listPushProvidersWithHttpInfo(ProviderType type) throws org.springframework.web.client.RestClientException List all Push Providers Lists all push providers200 - OK
403 - Forbidden
429 - Too Many Requests
- Parameters:
type
- Filters push providers by `providerType` (optional)- Returns:
- ResponseEntity<List<PushProvider>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPushProvidersWithPaginationInfo
public PagedList listPushProvidersWithPaginationInfo(ProviderType type) throws org.springframework.web.client.RestClientException List all Push Providers Lists all push providers200 - OK
403 - Forbidden
429 - Too Many Requests
- Parameters:
type
- Filters push providers by `providerType` (optional)- Returns:
- ResponseEntity<List<PushProvider>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePushProvider
public PushProvider replacePushProvider(String pushProviderId, PushProvider pushProvider) throws org.springframework.web.client.RestClientException Replace a Push Provider Replaces a push provider by `pushProviderId`200 - OK
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)pushProvider
- (required)- Returns:
- PushProvider
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePushProvider
public <T> T replacePushProvider(Class<?> T, String pushProviderId, PushProvider pushProvider) throws org.springframework.web.client.RestClientException Replace a Push Provider Replaces a push provider by `pushProviderId`200 - OK
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typepushProviderId
- Id of the push provider (required)pushProvider
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePushProviderWithHttpInfo
public org.springframework.http.ResponseEntity<PushProvider> replacePushProviderWithHttpInfo(String pushProviderId, PushProvider pushProvider) throws org.springframework.web.client.RestClientException Replace a Push Provider Replaces a push provider by `pushProviderId`200 - OK
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)pushProvider
- (required)- Returns:
- ResponseEntity<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePushProviderWithPaginationInfo
public PagedList replacePushProviderWithPaginationInfo(String pushProviderId, PushProvider pushProvider) throws org.springframework.web.client.RestClientException Replace a Push Provider Replaces a push provider by `pushProviderId`200 - OK
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
pushProviderId
- Id of the push provider (required)pushProvider
- (required)- Returns:
- ResponseEntity<PushProvider>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-