public class DomainAPI extends AbstractAPI<Domain>
| Modifier and Type | Method and Description |
|---|---|
Domain |
createDomain(String name,
Long templateId,
String authorityType) |
Domain |
createReverseDomain(String name,
Long templateId,
String authorityType) |
Domain |
getById(Long domainId) |
protected Type |
getListType() |
Domain |
getReverseById(Long domainId) |
protected Type |
getType() |
List<Domain> |
listAll() |
List<Domain> |
listAllReverse() |
List<Domain> |
listByQuery(String query) |
List<Domain> |
listReverseByQuery(String query) |
void |
removeDomain(Long domainId) |
void |
removeReverseDomain(Long domainId) |
void |
updateDomain(Long domainId,
String name,
String authorityType,
String ttl) |
void |
updateReverseDomain(Long domainId,
String name,
String authorityType,
String ttl) |
buildHttpRequestFactory, buildRequest, buildUrl, delete, get, getGloboDns, handleExceptionIfNeeded, insertAuthenticationHeaders, interceptRequest, interceptResponse, parse, parse, performRequest, post, putpublic DomainAPI(GloboDns transport)
protected Type getType()
getType in class AbstractAPI<Domain>protected Type getListType()
getListType in class AbstractAPI<Domain>public Domain createDomain(String name, Long templateId, String authorityType) throws GloboDnsException
GloboDnsExceptionpublic List<Domain> listAll() throws GloboDnsException
GloboDnsExceptionpublic List<Domain> listByQuery(String query) throws GloboDnsException
GloboDnsExceptionpublic Domain getById(Long domainId) throws GloboDnsException
GloboDnsExceptionpublic void updateDomain(Long domainId, String name, String authorityType, String ttl) throws GloboDnsException
GloboDnsExceptionpublic void removeDomain(Long domainId) throws GloboDnsException
GloboDnsExceptionpublic Domain createReverseDomain(String name, Long templateId, String authorityType) throws GloboDnsException
GloboDnsExceptionpublic List<Domain> listAllReverse() throws GloboDnsException
GloboDnsExceptionpublic List<Domain> listReverseByQuery(String query) throws GloboDnsException
GloboDnsExceptionpublic Domain getReverseById(Long domainId) throws GloboDnsException
GloboDnsExceptionpublic void updateReverseDomain(Long domainId, String name, String authorityType, String ttl) throws GloboDnsException
GloboDnsExceptionpublic void removeReverseDomain(Long domainId) throws GloboDnsException
GloboDnsExceptionCopyright © 2018. All rights reserved.