public interface Services
| Modifier and Type | Method and Description |
|---|---|
AppliedServicesResponse |
appliedServices(String accountId,
String domainId)
Lists the one-click services applied to the domain.
|
AppliedServicesResponse |
appliedServices(String accountId,
String domainId,
Map<String,Object> options)
Lists the one-click services applied to the domain.
|
ApplyServiceResponse |
applyService(String accountId,
String domainId,
String serviceId,
Map<String,Object> settings)
Apply the given one-click service to the given domain.
|
GetServiceResponse |
getService(String serviceId)
Get a specific service by ID.
|
ListServicesResponse |
listServices()
Lists the available one-click services.
|
ListServicesResponse |
listServices(Map<String,Object> options)
Lists the available one-click services.
|
UnapplyServiceResponse |
unapplyService(String accountId,
String domainId,
String serviceId)
Unapply the given one-click service the given domain.
|
ListServicesResponse listServices() throws DnsimpleException, IOException
DnsimpleException - Any API errorsIOException - Any IO errorsListServicesResponse listServices(Map<String,Object> options) throws DnsimpleException, IOException
options - Options to pass to the DNSimple APIDnsimpleException - Any API errorsIOException - Any IO errorsGetServiceResponse getService(String serviceId) throws DnsimpleException, IOException
serviceId - The service IDDnsimpleException - Any API errorsIOException - Any IO errorsAppliedServicesResponse appliedServices(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDDnsimpleException - Any API errorsIOException - Any IO errorsAppliedServicesResponse appliedServices(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDoptions - Options passed to the DNSimple APIDnsimpleException - Any API errorsIOException - Any IO errorsApplyServiceResponse applyService(String accountId, String domainId, String serviceId, Map<String,Object> settings) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDserviceId - The service ID to applysettings - A Map of settings for the serviceDnsimpleException - Any API errorsIOException - Any IO errorsUnapplyServiceResponse unapplyService(String accountId, String domainId, String serviceId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDserviceId - The service ID to unapplyDnsimpleException - Any API errorsIOException - Any IO errorsCopyright © 2017 DNSimple. All rights reserved.