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 Campaign Manager 360 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UserProfile() |
Modifier and Type | Method and Description |
---|---|
UserProfile |
clone() |
Long |
getAccountId()
The account ID to which this profile belongs.
|
String |
getAccountName()
The account name this profile belongs to.
|
String |
getEtag()
Etag of this resource.
|
String |
getKind()
Identifies what kind of resource this is.
|
Long |
getProfileId()
The unique ID of the user profile.
|
Long |
getSubAccountId()
The sub account ID this profile belongs to if applicable.
|
String |
getSubAccountName()
The sub account name this profile belongs to if applicable.
|
String |
getUserName()
The user name.
|
UserProfile |
set(String fieldName,
Object value) |
UserProfile |
setAccountId(Long accountId)
The account ID to which this profile belongs.
|
UserProfile |
setAccountName(String accountName)
The account name this profile belongs to.
|
UserProfile |
setEtag(String etag)
Etag of this resource.
|
UserProfile |
setKind(String kind)
Identifies what kind of resource this is.
|
UserProfile |
setProfileId(Long profileId)
The unique ID of the user profile.
|
UserProfile |
setSubAccountId(Long subAccountId)
The sub account ID this profile belongs to if applicable.
|
UserProfile |
setSubAccountName(String subAccountName)
The sub account name this profile belongs to if applicable.
|
UserProfile |
setUserName(String userName)
The user name.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getAccountId()
null
for nonepublic UserProfile setAccountId(Long accountId)
accountId
- accountId or null
for nonepublic String getAccountName()
null
for nonepublic UserProfile setAccountName(String accountName)
accountName
- accountName or null
for nonepublic String getEtag()
null
for nonepublic UserProfile setEtag(String etag)
etag
- etag or null
for nonepublic String getKind()
null
for nonepublic UserProfile setKind(String kind)
kind
- kind or null
for nonepublic Long getProfileId()
null
for nonepublic UserProfile setProfileId(Long profileId)
profileId
- profileId or null
for nonepublic Long getSubAccountId()
null
for nonepublic UserProfile setSubAccountId(Long subAccountId)
subAccountId
- subAccountId or null
for nonepublic String getSubAccountName()
null
for nonepublic UserProfile setSubAccountName(String subAccountName)
subAccountName
- subAccountName or null
for nonepublic String getUserName()
null
for nonepublic UserProfile setUserName(String userName)
userName
- userName or null
for nonepublic UserProfile set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public UserProfile clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.