Package com.dnsimple.endpoints
Class Services
java.lang.Object
com.dnsimple.endpoints.Services
Provides access to the DNSimple one-click Services API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappliedServices(Number account, String domain) Lists the one-click services applied to the domain.appliedServices(Number account, String domain, ListOptions options) Lists the one-click services applied to the domain.Apply the given one-click service to the given domain.getService(String service) Get a specific service by ID.Lists the available one-click services.listServices(ListOptions options) Lists the available one-click services.unapplyService(Number account, String domain, String service) Unapply the given one-click service the given domain.
-
Constructor Details
-
Services
-
-
Method Details
-
listServices
Lists the available one-click services.- Returns:
- The list services response
- See Also:
-
listServices
Lists the available one-click services.- Parameters:
options- The options for the list request- Returns:
- The list services response
- See Also:
-
getService
Get a specific service by ID.- Parameters:
service- The service name or ID- Returns:
- The get service response
- See Also:
-
appliedServices
Lists the one-click services applied to the domain.- Parameters:
account- The account IDdomain- The domain name or ID- Returns:
- The applied services response
- See Also:
-
appliedServices
public PaginatedResponse<Service> appliedServices(Number account, String domain, ListOptions options) Lists the one-click services applied to the domain.- Parameters:
account- The account IDdomain- The domain name or IDoptions- The options for the list request- Returns:
- The applied services response
- See Also:
-
applyService
public SimpleResponse<Service> applyService(Number account, String domain, String service, Map<String, Object> settings) Apply the given one-click service to the given domain.- Parameters:
account- The account IDdomain- The domain name or IDservice- The service name or ID to applysettings- A Map of settings for the service- Returns:
- The apply service response
- See Also:
-
unapplyService
Unapply the given one-click service the given domain.- Parameters:
account- The account IDdomain- The domain name or IDservice- The service name or ID to unapply- Returns:
- The unapply service response
- See Also:
-