|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfa.lib.client.DfaSession
public class DfaSession
A DfaSession represents a single session of DFA use.
| Nested Class Summary | |
|---|---|
static class |
DfaSession.Builder
Builder for DfaSession. |
static class |
DfaSession.Environment
Enum representing the endpoint server, aka environment. |
| Method Summary | |
|---|---|
String |
getApplicationName()
Gets the application name. |
String |
getEndpoint()
Returns the server endpoint to make requests against. |
String |
getPassword()
Gets the password. |
String |
getToken()
Gets the token used for authentication. |
String |
getUsername()
Gets the user name. |
boolean |
isEnvironment(Endpoint environment)
Determines if the session is for the supplied DfaSession.Environment. |
void |
setToken(String token)
Sets the token associated with this session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setToken(String token)
public String getUsername()
public String getPassword()
public String getToken()
public String getApplicationName()
public String getEndpoint()
AdsSession
getEndpoint in interface AdsSessionpublic boolean isEnvironment(Endpoint environment)
DfaSession.Environment.
isEnvironment in interface AdsSessionenvironment - the environment to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||