Class PushProviderApi

java.lang.Object
org.openapitools.client.api.PushProviderApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T09:13:44.263607-05:00[America/Chicago]") @Component("org.openapitools.client.api.PushProviderApi") public class PushProviderApi extends Object
  • Constructor Details

    • PushProviderApi

      public PushProviderApi()
    • PushProviderApi

      @Autowired public PushProviderApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createPushProvider

      public PushProvider createPushProvider(PushProvider pushProvider) throws org.springframework.web.client.RestClientException
      Create a Push Provider Creates a new push provider

      200 - 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 provider

      200 - OK

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      pushProvider - (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 provider

      200 - 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 provider

      200 - 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 providers

      200 - 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 providers

      200 - 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 providers

      200 - 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 type
      pushProviderId - 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