Class DomainApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
createDomain
(Class<?> T, Domain domain) Create a Domain Creates your domaincreateDomain
(Domain domain) Create a Domain Creates your domainorg.springframework.http.ResponseEntity<DomainResponse>
createDomainWithHttpInfo
(Domain domain) Create a Domain Creates your domaincreateDomainWithPaginationInfo
(Domain domain) Create a Domain Creates your domainvoid
deleteDomain
(String domainId) Delete a Domain Deletes a Domain by `id`org.springframework.http.ResponseEntity<Void>
deleteDomainWithHttpInfo
(String domainId) Delete a Domain Deletes a Domain by `id`Retrieve a Domain Retrieves a Domain by `id`org.springframework.http.ResponseEntity<DomainResponse>
getDomainWithHttpInfo
(String domainId) Retrieve a Domain Retrieves a Domain by `id`getDomainWithPaginationInfo
(String domainId) Retrieve a Domain Retrieves a Domain by `id`List all Domains Lists all verified custom Domains for the orgorg.springframework.http.ResponseEntity<DomainListResponse>
List all Domains Lists all verified custom Domains for the orgList all Domains Lists all verified custom Domains for the org<T> T
replaceDomain
(Class<?> T, String domainId, UpdateDomain updateDomain) Replace a Domain's brandId Replaces a Domain by `id`replaceDomain
(String domainId, UpdateDomain updateDomain) Replace a Domain's brandId Replaces a Domain by `id`org.springframework.http.ResponseEntity<DomainResponse>
replaceDomainWithHttpInfo
(String domainId, UpdateDomain updateDomain) Replace a Domain's brandId Replaces a Domain by `id`replaceDomainWithPaginationInfo
(String domainId, UpdateDomain updateDomain) Replace a Domain's brandId Replaces a Domain by `id`void
setApiClient
(ApiClient apiClient) void
upsertCertificate
(Class<?> T, String domainId, DomainCertificate certificate) Upsert the Certificate Creates or replaces the certificate for the domainvoid
upsertCertificate
(String domainId, DomainCertificate certificate) Upsert the Certificate Creates or replaces the certificate for the domainorg.springframework.http.ResponseEntity<Void>
upsertCertificateWithHttpInfo
(String domainId, DomainCertificate certificate) Upsert the Certificate Creates or replaces the certificate for the domainverifyDomain
(String domainId) Verify a Domain Verifies the Domain by `id`org.springframework.http.ResponseEntity<DomainResponse>
verifyDomainWithHttpInfo
(String domainId) Verify a Domain Verifies the Domain by `id`verifyDomainWithPaginationInfo
(String domainId) Verify a Domain Verifies the Domain by `id`
-
Constructor Details
-
DomainApi
public DomainApi() -
DomainApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createDomain
public DomainResponse createDomain(Domain domain) throws org.springframework.web.client.RestClientException Create a Domain Creates your domain200 - 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 domain200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typedomain
- (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 domain200 - 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 domain200 - 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
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
List all Domains Lists all verified custom Domains for the org200 - 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.RestClientExceptionList all Domains Lists all verified custom Domains for the org200 - 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.RestClientExceptionList all Domains Lists all verified custom Domains for the org200 - 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 typedomainId
- (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 domain204 - 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 domain204 - No Content
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typedomainId
- (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 domain204 - 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
-