public class Role extends Object
Role provides a user with permissions to perform specific
operations in the system.
Java class for Role complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Role">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201708}RoleStatus" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected Long |
id |
protected String |
name |
protected RoleStatus |
status |
| Constructor and Description |
|---|
Role() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
RoleStatus |
getStatus()
Gets the value of the status property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(RoleStatus value)
Sets the value of the status property.
|
protected Long id
protected String name
protected String description
protected RoleStatus status
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic RoleStatus getStatus()
RoleStatuspublic void setStatus(RoleStatus value)
value - allowed object is
RoleStatusCopyright © 2018. All Rights Reserved.