Package com.dnsimple.endpoints
Class Tlds
- java.lang.Object
-
- com.dnsimple.endpoints.Tlds
-
public class Tlds extends java.lang.ObjectProvides access to the DNSimple TLDs API.- See Also:
- https://developer.dnsimple.com/v2/tlds
-
-
Constructor Summary
Constructors Constructor Description Tlds(HttpEndpointClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleResponse<Tld>getTld(java.lang.String tld)Get details for a specific tld.ListResponse<TldExtendedAttribute>getTldExtendedAttributes(java.lang.String tld)Get extended attributes for a TLDPaginatedResponse<Tld>listTlds()Lists supported TLDs for registrationPaginatedResponse<Tld>listTlds(ListOptions options)Lists supported TLDs for registration
-
-
-
Constructor Detail
-
Tlds
public Tlds(HttpEndpointClient client)
-
-
Method Detail
-
listTlds
public PaginatedResponse<Tld> listTlds()
Lists supported TLDs for registration- Returns:
- The list tlds response
- See Also:
- https://developer.dnsimple.com/v2/tlds/#list
-
listTlds
public PaginatedResponse<Tld> listTlds(ListOptions options)
Lists supported TLDs for registration- Parameters:
options- The options for the list request- Returns:
- The list tlds response
- See Also:
- https://developer.dnsimple.com/v2/tlds/#list
-
getTld
public SimpleResponse<Tld> getTld(java.lang.String tld)
Get details for a specific tld.- Parameters:
tld- The TLD string (i.e. "com")- Returns:
- The get tld response
- See Also:
- https://developer.dnsimple.com/v2/tlds/#get
-
getTldExtendedAttributes
public ListResponse<TldExtendedAttribute> getTldExtendedAttributes(java.lang.String tld)
Get extended attributes for a TLD- Parameters:
tld- The TLD to retrieve extended attributes for- Returns:
- The list tlds response
- See Also:
- https://developer.dnsimple.com/v2/tlds/#extended-attributes
-
-