public class User extends UserRecord
Users may be assigned at most one Role per network. Each role
provides a user with permissions to perform specific operations. Without a
role, they will not be able to perform any actions.
Java class for User complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="User">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201708}UserRecord">
<sequence>
<element name="isActive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="isEmailNotificationAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="isServiceAccount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="ordersUiLocalTimeZoneId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="customFieldValues" type="{https://www.google.com/apis/ads/publisher/v201708}BaseCustomFieldValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<BaseCustomFieldValue> |
customFieldValues |
protected String |
externalId |
protected Boolean |
isActive |
protected Boolean |
isEmailNotificationAllowed |
protected Boolean |
isServiceAccount |
protected String |
ordersUiLocalTimeZoneId |
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
List<BaseCustomFieldValue> |
getCustomFieldValues()
Gets the value of the customFieldValues property.
|
String |
getExternalId()
Gets the value of the externalId property.
|
String |
getOrdersUiLocalTimeZoneId()
Gets the value of the ordersUiLocalTimeZoneId property.
|
Boolean |
isIsActive()
Gets the value of the isActive property.
|
Boolean |
isIsEmailNotificationAllowed()
Gets the value of the isEmailNotificationAllowed property.
|
Boolean |
isIsServiceAccount()
Gets the value of the isServiceAccount property.
|
void |
setExternalId(String value)
Sets the value of the externalId property.
|
void |
setIsActive(Boolean value)
Sets the value of the isActive property.
|
void |
setIsEmailNotificationAllowed(Boolean value)
Sets the value of the isEmailNotificationAllowed property.
|
void |
setIsServiceAccount(Boolean value)
Sets the value of the isServiceAccount property.
|
void |
setOrdersUiLocalTimeZoneId(String value)
Sets the value of the ordersUiLocalTimeZoneId property.
|
getEmail, getId, getName, getRoleId, getRoleName, setEmail, setId, setName, setRoleId, setRoleNameprotected Boolean isActive
protected Boolean isEmailNotificationAllowed
protected String externalId
protected Boolean isServiceAccount
protected String ordersUiLocalTimeZoneId
protected List<BaseCustomFieldValue> customFieldValues
public Boolean isIsActive()
Booleanpublic void setIsActive(Boolean value)
value - allowed object is
Booleanpublic Boolean isIsEmailNotificationAllowed()
Booleanpublic void setIsEmailNotificationAllowed(Boolean value)
value - allowed object is
Booleanpublic String getExternalId()
Stringpublic void setExternalId(String value)
value - allowed object is
Stringpublic Boolean isIsServiceAccount()
Booleanpublic void setIsServiceAccount(Boolean value)
value - allowed object is
Booleanpublic String getOrdersUiLocalTimeZoneId()
Stringpublic void setOrdersUiLocalTimeZoneId(String value)
value - allowed object is
Stringpublic List<BaseCustomFieldValue> getCustomFieldValues()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the customFieldValues property.
For example, to add a new item, do as follows:
getCustomFieldValues().add(newItem);
Objects of the following type(s) are allowed in the list
BaseCustomFieldValue
Copyright © 2018. All Rights Reserved.