public final class UserProfile
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the DCM/DFA Reporting And Trafficking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
UserProfile() |
| Modifier and Type | Method and Description |
|---|---|
UserProfile |
clone() |
java.lang.Long |
getAccountId()
The account ID to which this profile belongs.
|
java.lang.String |
getAccountName()
The account name this profile belongs to.
|
java.lang.String |
getEtag()
The eTag of this response for caching purposes.
|
java.lang.String |
getKind()
The kind of resource this is, in this case dfareporting#userProfile.
|
java.lang.Long |
getProfileId()
The unique ID of the user profile.
|
java.lang.Long |
getSubAccountId()
The sub account ID this profile belongs to if applicable.
|
java.lang.String |
getSubAccountName()
The sub account name this profile belongs to if applicable.
|
java.lang.String |
getUserName()
The user name.
|
UserProfile |
set(java.lang.String fieldName,
java.lang.Object value) |
UserProfile |
setAccountId(java.lang.Long accountId)
The account ID to which this profile belongs.
|
UserProfile |
setAccountName(java.lang.String accountName)
The account name this profile belongs to.
|
UserProfile |
setEtag(java.lang.String etag)
The eTag of this response for caching purposes.
|
UserProfile |
setKind(java.lang.String kind)
The kind of resource this is, in this case dfareporting#userProfile.
|
UserProfile |
setProfileId(java.lang.Long profileId)
The unique ID of the user profile.
|
UserProfile |
setSubAccountId(java.lang.Long subAccountId)
The sub account ID this profile belongs to if applicable.
|
UserProfile |
setSubAccountName(java.lang.String subAccountName)
The sub account name this profile belongs to if applicable.
|
UserProfile |
setUserName(java.lang.String userName)
The user name.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getAccountId()
null for nonepublic UserProfile setAccountId(java.lang.Long accountId)
accountId - accountId or null for nonepublic java.lang.String getAccountName()
null for nonepublic UserProfile setAccountName(java.lang.String accountName)
accountName - accountName or null for nonepublic java.lang.String getEtag()
null for nonepublic UserProfile setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getKind()
null for nonepublic UserProfile setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getProfileId()
null for nonepublic UserProfile setProfileId(java.lang.Long profileId)
profileId - profileId or null for nonepublic java.lang.Long getSubAccountId()
null for nonepublic UserProfile setSubAccountId(java.lang.Long subAccountId)
subAccountId - subAccountId or null for nonepublic java.lang.String getSubAccountName()
null for nonepublic UserProfile setSubAccountName(java.lang.String subAccountName)
subAccountName - subAccountName or null for nonepublic java.lang.String getUserName()
null for nonepublic UserProfile setUserName(java.lang.String userName)
userName - userName or null for nonepublic UserProfile set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic UserProfile clone()
clone in class com.google.api.client.json.GenericJson