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/v201805}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"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|---|
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
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()
StringCopyright © 2018. All Rights Reserved.