public class Client extends Object
| Modifier and Type | Field and Description |
|---|---|
Accounts |
accounts |
Certificates |
certificates |
Contacts |
contacts |
Domains |
domains |
Identity |
identity |
Oauth |
oauth |
Registrar |
registrar |
Services |
services |
Templates |
templates |
Tlds |
tlds |
VanityNameServers |
vanityNameServers |
Webhooks |
webhooks |
Zones |
zones |
| Constructor and Description |
|---|
Client()
Construct a new API client with the default HTTP endpoint adapter.
|
Client(EndpointAdapter adapter)
Construct a new API client with the given endpoint adapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAccessToken(String accessToken)
Set the access token to use for the client instance.
|
void |
setTransport(com.google.api.client.http.HttpTransport transport)
Set the underlying transport mechanism.
|
void |
setUserAgent(String userAgent)
Set the user agent to use for the client instance.
|
public final Accounts accounts
public final Certificates certificates
public final Contacts contacts
public final Domains domains
public final Identity identity
public final Oauth oauth
public final Registrar registrar
public final Services services
public final Templates templates
public final Tlds tlds
public final VanityNameServers vanityNameServers
public final Webhooks webhooks
public final Zones zones
public Client()
public Client(EndpointAdapter adapter)
adapter - The endpoint adapter to use in the client.public void setTransport(com.google.api.client.http.HttpTransport transport)
transport - The transport instancepublic void setAccessToken(String accessToken)
accessToken - The access token stringpublic void setUserAgent(String userAgent)
userAgent - The user agent stringCopyright © 2017 DNSimple. All rights reserved.