Class DomainApi

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

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

    • DomainApi

      public DomainApi()
    • DomainApi

      @Autowired public DomainApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createDomain

      public DomainResponse createDomain(Domain domain) throws org.springframework.web.client.RestClientException
      Create a Domain Creates your domain

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

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

      public <T> T createDomain(Class<?> T, Domain domain) throws org.springframework.web.client.RestClientException
      Create a Domain Creates your domain

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

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

      public org.springframework.http.ResponseEntity<DomainResponse> createDomainWithHttpInfo(Domain domain) throws org.springframework.web.client.RestClientException
      Create a Domain Creates your domain

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

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

      public PagedList createDomainWithPaginationInfo(Domain domain) throws org.springframework.web.client.RestClientException
      Create a Domain Creates your domain

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

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

      public void deleteDomain(String domainId) throws org.springframework.web.client.RestClientException
      Delete a Domain Deletes a Domain by `id`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public org.springframework.http.ResponseEntity<Void> deleteDomainWithHttpInfo(String domainId) throws org.springframework.web.client.RestClientException
      Delete a Domain Deletes a Domain by `id`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public DomainResponse getDomain(String domainId) throws org.springframework.web.client.RestClientException
      Retrieve a Domain Retrieves a Domain by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public org.springframework.http.ResponseEntity<DomainResponse> getDomainWithHttpInfo(String domainId) throws org.springframework.web.client.RestClientException
      Retrieve a Domain Retrieves a Domain by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public PagedList getDomainWithPaginationInfo(String domainId) throws org.springframework.web.client.RestClientException
      Retrieve a Domain Retrieves a Domain by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public DomainListResponse listDomains() throws org.springframework.web.client.RestClientException
      List all Domains Lists all verified custom Domains for the org

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      DomainListResponse
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listDomainsWithHttpInfo

      public org.springframework.http.ResponseEntity<DomainListResponse> listDomainsWithHttpInfo() throws org.springframework.web.client.RestClientException
      List all Domains Lists all verified custom Domains for the org

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<DomainListResponse>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listDomainsWithPaginationInfo

      public PagedList listDomainsWithPaginationInfo() throws org.springframework.web.client.RestClientException
      List all Domains Lists all verified custom Domains for the org

      200 - Success

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<DomainListResponse>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceDomain

      public DomainResponse replaceDomain(String domainId, UpdateDomain updateDomain) throws org.springframework.web.client.RestClientException
      Replace a Domain's brandId Replaces a Domain by `id`

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      domainId - (required)
      updateDomain - (required)
      Returns:
      DomainResponse
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceDomain

      public <T> T replaceDomain(Class<?> T, String domainId, UpdateDomain updateDomain) throws org.springframework.web.client.RestClientException
      Replace a Domain's brandId Replaces a Domain by `id`

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public org.springframework.http.ResponseEntity<DomainResponse> replaceDomainWithHttpInfo(String domainId, UpdateDomain updateDomain) throws org.springframework.web.client.RestClientException
      Replace a Domain's brandId Replaces a Domain by `id`

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public PagedList replaceDomainWithPaginationInfo(String domainId, UpdateDomain updateDomain) throws org.springframework.web.client.RestClientException
      Replace a Domain's brandId Replaces a Domain by `id`

      200 - Success

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public void upsertCertificate(String domainId, DomainCertificate certificate) throws org.springframework.web.client.RestClientException
      Upsert the Certificate Creates or replaces the certificate for the domain

      204 - No Content

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public void upsertCertificate(Class<?> T, String domainId, DomainCertificate certificate) throws org.springframework.web.client.RestClientException
      Upsert the Certificate Creates or replaces the certificate for the domain

      204 - No Content

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public org.springframework.http.ResponseEntity<Void> upsertCertificateWithHttpInfo(String domainId, DomainCertificate certificate) throws org.springframework.web.client.RestClientException
      Upsert the Certificate Creates or replaces the certificate for the domain

      204 - No Content

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public DomainResponse verifyDomain(String domainId) throws org.springframework.web.client.RestClientException
      Verify a Domain Verifies the Domain by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public org.springframework.http.ResponseEntity<DomainResponse> verifyDomainWithHttpInfo(String domainId) throws org.springframework.web.client.RestClientException
      Verify a Domain Verifies the Domain by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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

      public PagedList verifyDomainWithPaginationInfo(String domainId) throws org.springframework.web.client.RestClientException
      Verify a Domain Verifies the Domain by `id`

      200 - Success

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

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