Class

# VMware_VCloud_SDK_Role

class VMware_VCloud_SDK_Role extends VMware_VCloud_SDK_Abstract

## Methods

string | getEntityId() Get vCloud ID of the vCloud resource entity from its data object. | from VMware_VCloud_SDK_Abstract
VMware_VCloud_API_ReferenceType | getRoleRef() Get a reference to a VMware vCloud role entity. |
VMware_VCloud_API_RoleType | getRole() Get a VMware vCloud role entity. |
string | getId() Constructs vCloud ID of this role from its UUID. |
VMware_VCloud_API_RoleType | modify(VMware_VCloud_API_RoleType $role) Modify a role. |
null | delete() Delete a role. |

## Details

###
in VMware_VCloud_SDK_Abstract at line 85
`public string getEntityId()`

Get vCloud ID of the vCloud resource entity from its data object.

#### Return Value

string |

###
at line 10
`public VMware_VCloud_API_ReferenceType getRoleRef()`

Get a reference to a VMware vCloud role entity.

#### Return Value

VMware_VCloud_API_ReferenceType |

###
at line 21
`public VMware_VCloud_API_RoleType getRole()`

Get a VMware vCloud role entity.

#### Return Value

VMware_VCloud_API_RoleType |

###
at line 32
`public string getId()`

Constructs vCloud ID of this role from its UUID.

#### Return Value

string |

###
at line 44
`public VMware_VCloud_API_RoleType modify(VMware_VCloud_API_RoleType $role)`

Modify a role.

#### Parameters

VMware_VCloud_API_RoleType | $role |

#### Return Value

VMware_VCloud_API_RoleType |

###
at line 56
`public null delete()`

Delete a role.

#### Return Value

null |