@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T16:43:30.269+01:00") public class DomainsAPIApi extends Object
| Constructor and Description |
|---|
DomainsAPIApi() |
DomainsAPIApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DomainExtendedInformation |
createDomain(String xPostmarkAccountToken,
DomainCreationModel body)
Create a Domain
|
StandardPostmarkResponse |
deleteDomain(String xPostmarkAccountToken,
Integer domainid)
Delete a Domain
|
DomainExtendedInformation |
editDomain(String xPostmarkAccountToken,
Integer domainid,
DomainEditingModel body)
Update a Domain
|
ApiClient |
getApiClient() |
DomainExtendedInformation |
getDomain(String xPostmarkAccountToken,
Integer domainid)
Get a Domain
|
DomainListingResults |
listDomains(String xPostmarkAccountToken,
Integer count,
Integer offset)
List Domains
|
DomainSPFResult |
requestSPFVerificationForDomain(String xPostmarkAccountToken,
Integer domainid)
Request DNS Verification for SPF
|
DKIMRotationResponse |
rotateDKIMKeyForDomain(String xPostmarkAccountToken,
Integer domainid)
Rotate DKIM Key
Creates a new DKIM key to replace your current key.
|
void |
setApiClient(ApiClient apiClient) |
public DomainsAPIApi()
public DomainsAPIApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public DomainExtendedInformation createDomain(String xPostmarkAccountToken, DomainCreationModel body) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)body - (optional)ApiException - if fails to make API callpublic StandardPostmarkResponse deleteDomain(String xPostmarkAccountToken, Integer domainid) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)domainid - The ID for the Domain that should be deleted by the request. (required)ApiException - if fails to make API callpublic DomainExtendedInformation editDomain(String xPostmarkAccountToken, Integer domainid, DomainEditingModel body) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)domainid - The ID for the Domain that should be modified by the request. (required)body - (optional)ApiException - if fails to make API callpublic DomainExtendedInformation getDomain(String xPostmarkAccountToken, Integer domainid) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)domainid - The ID for the Domain that should be retrieved. (required)ApiException - if fails to make API callpublic DomainListingResults listDomains(String xPostmarkAccountToken, Integer count, Integer offset) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)count - Number of records to return per request. Max 500. (required)offset - Number of records to skip (required)ApiException - if fails to make API callpublic DomainSPFResult requestSPFVerificationForDomain(String xPostmarkAccountToken, Integer domainid) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)domainid - The ID for the Domain for which SPF DNS records should be verified. (required)ApiException - if fails to make API callpublic DKIMRotationResponse rotateDKIMKeyForDomain(String xPostmarkAccountToken, Integer domainid) throws ApiException
xPostmarkAccountToken - The token associated with the Account on which this request will operate. (required)domainid - The ID for the Sender Signature for which a new DKIM Key should be generated. (required)ApiException - if fails to make API callCopyright © 2019. All rights reserved.