public class Role extends APIObject
Java class for Role complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Role">
<complexContent>
<extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
<sequence>
<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="IsPrivate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="IsSystemDefined" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="ForceInheritance" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="PermissionSets" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="PermissionSet" type="{http://exacttarget.com/wsdl/partnerAPI}PermissionSet" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="Permissions" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Permission" type="{http://exacttarget.com/wsdl/partnerAPI}Permission" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Role.Permissions
Java class for anonymous complex type.
|
static class |
Role.PermissionSets
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected Boolean |
forceInheritance |
protected Boolean |
isPrivate |
protected Boolean |
isSystemDefined |
protected String |
name |
protected Role.Permissions |
permissions |
protected Role.PermissionSets |
permissionSets |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
Role() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
Boolean |
getForceInheritance()
Gets the value of the forceInheritance property.
|
Boolean |
getIsPrivate()
Gets the value of the isPrivate property.
|
Boolean |
getIsSystemDefined()
Gets the value of the isSystemDefined property.
|
String |
getName()
Gets the value of the name property.
|
Role.Permissions |
getPermissions()
Gets the value of the permissions property.
|
Role.PermissionSets |
getPermissionSets()
Gets the value of the permissionSets property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setForceInheritance(Boolean value)
Sets the value of the forceInheritance property.
|
void |
setIsPrivate(Boolean value)
Sets the value of the isPrivate property.
|
void |
setIsSystemDefined(Boolean value)
Sets the value of the isSystemDefined property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPermissions(Role.Permissions value)
Sets the value of the permissions property.
|
void |
setPermissionSets(Role.PermissionSets value)
Sets the value of the permissionSets property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getClient, getCorrelationID, getCreatedDate, getCustomerKey, getId, getModifiedDate, getObjectID, getObjectState, getOwner, getPartnerKey, getPartnerProperties, setClient, setCorrelationID, setCreatedDate, setCustomerKey, setId, setModifiedDate, setObjectID, setObjectState, setOwner, setPartnerKeyprotected String name
protected String description
protected Boolean isPrivate
protected Boolean isSystemDefined
protected Boolean forceInheritance
protected Role.PermissionSets permissionSets
protected Role.Permissions permissions
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Boolean getIsPrivate()
Booleanpublic void setIsPrivate(Boolean value)
value - allowed object is
Booleanpublic Boolean getIsSystemDefined()
Booleanpublic void setIsSystemDefined(Boolean value)
value - allowed object is
Booleanpublic Boolean getForceInheritance()
Booleanpublic void setForceInheritance(Boolean value)
value - allowed object is
Booleanpublic Role.PermissionSets getPermissionSets()
Role.PermissionSetspublic void setPermissionSets(Role.PermissionSets value)
value - allowed object is
Role.PermissionSetspublic Role.Permissions getPermissions()
Role.Permissionspublic void setPermissions(Role.Permissions value)
value - allowed object is
Role.PermissionsCopyright © 2017. All rights reserved.