Class TrustedOriginApi

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

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

    • TrustedOriginApi

      public TrustedOriginApi()
    • TrustedOriginApi

      @Autowired public TrustedOriginApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateTrustedOrigin

      public TrustedOrigin activateTrustedOrigin(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Activate a Trusted Origin Activates a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      TrustedOrigin
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateTrustedOriginWithHttpInfo

      public org.springframework.http.ResponseEntity<TrustedOrigin> activateTrustedOriginWithHttpInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Activate a Trusted Origin Activates a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateTrustedOriginWithPaginationInfo

      public PagedList activateTrustedOriginWithPaginationInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Activate a Trusted Origin Activates a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createTrustedOrigin

      public TrustedOrigin createTrustedOrigin(TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Create a Trusted Origin Creates a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      trustedOrigin - (required)
      Returns:
      TrustedOrigin
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createTrustedOrigin

      public <T> T createTrustedOrigin(Class<?> T, TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Create a Trusted Origin Creates a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      trustedOrigin - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createTrustedOriginWithHttpInfo

      public org.springframework.http.ResponseEntity<TrustedOrigin> createTrustedOriginWithHttpInfo(TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Create a Trusted Origin Creates a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      trustedOrigin - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createTrustedOriginWithPaginationInfo

      public PagedList createTrustedOriginWithPaginationInfo(TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Create a Trusted Origin Creates a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      trustedOrigin - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateTrustedOrigin

      public TrustedOrigin deactivateTrustedOrigin(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Deactivate a Trusted Origin Deactivates a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      TrustedOrigin
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateTrustedOriginWithHttpInfo

      public org.springframework.http.ResponseEntity<TrustedOrigin> deactivateTrustedOriginWithHttpInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Deactivate a Trusted Origin Deactivates a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateTrustedOriginWithPaginationInfo

      public PagedList deactivateTrustedOriginWithPaginationInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Deactivate a Trusted Origin Deactivates a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteTrustedOrigin

      public void deleteTrustedOrigin(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Delete a Trusted Origin Deletes a trusted origin

      204 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteTrustedOriginWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> deleteTrustedOriginWithHttpInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Delete a Trusted Origin Deletes a trusted origin

      204 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getTrustedOrigin

      public TrustedOrigin getTrustedOrigin(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Retrieve a Trusted Origin Retrieves a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      TrustedOrigin
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getTrustedOriginWithHttpInfo

      public org.springframework.http.ResponseEntity<TrustedOrigin> getTrustedOriginWithHttpInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Retrieve a Trusted Origin Retrieves a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getTrustedOriginWithPaginationInfo

      public PagedList getTrustedOriginWithPaginationInfo(String trustedOriginId) throws org.springframework.web.client.RestClientException
      Retrieve a Trusted Origin Retrieves a trusted origin

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listTrustedOrigins

      public List<TrustedOrigin> listTrustedOrigins(String q, String filter, String after, Integer limit) throws org.springframework.web.client.RestClientException
      List all Trusted Origins Lists all trusted origins

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      q - (optional)
      filter - (optional)
      after - (optional)
      limit - (optional, default to -1)
      Returns:
      List<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listTrustedOriginsWithHttpInfo

      public org.springframework.http.ResponseEntity<List<TrustedOrigin>> listTrustedOriginsWithHttpInfo(String q, String filter, String after, Integer limit) throws org.springframework.web.client.RestClientException
      List all Trusted Origins Lists all trusted origins

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      q - (optional)
      filter - (optional)
      after - (optional)
      limit - (optional, default to -1)
      Returns:
      ResponseEntity<List<TrustedOrigin>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listTrustedOriginsWithPaginationInfo

      public PagedList listTrustedOriginsWithPaginationInfo(String q, String filter, String after, Integer limit) throws org.springframework.web.client.RestClientException
      List all Trusted Origins Lists all trusted origins

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      q - (optional)
      filter - (optional)
      after - (optional)
      limit - (optional, default to -1)
      Returns:
      ResponseEntity<List<TrustedOrigin>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceTrustedOrigin

      public TrustedOrigin replaceTrustedOrigin(String trustedOriginId, TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Replace a Trusted Origin Replaces a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      trustedOrigin - (required)
      Returns:
      TrustedOrigin
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceTrustedOrigin

      public <T> T replaceTrustedOrigin(Class<?> T, String trustedOriginId, TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Replace a Trusted Origin Replaces a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      trustedOriginId - (required)
      trustedOrigin - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceTrustedOriginWithHttpInfo

      public org.springframework.http.ResponseEntity<TrustedOrigin> replaceTrustedOriginWithHttpInfo(String trustedOriginId, TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Replace a Trusted Origin Replaces a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      trustedOrigin - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceTrustedOriginWithPaginationInfo

      public PagedList replaceTrustedOriginWithPaginationInfo(String trustedOriginId, TrustedOrigin trustedOrigin) throws org.springframework.web.client.RestClientException
      Replace a Trusted Origin Replaces a trusted origin

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      trustedOriginId - (required)
      trustedOrigin - (required)
      Returns:
      ResponseEntity<TrustedOrigin>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API