Package org.bonitasoft.web.client.model
Class Role
java.lang.Object
org.bonitasoft.web.client.model.Role
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public class Role
extends Object
implements Serializable
The role of a user in a group
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedByUserId(String createdByUserId) creationDate(String creationDate) description(String description) displayName(String displayName) booleanId of the user who created the role (-1 if the role was created by the technical admin or by an organisation import)creation date (format: `2014-12-31 15:17:24.736`)descriptiondisplay namegetIcon()icon pathgetId()role IDlast update date (format: `2014-12-31 15:17:24.736`)getName()nameinthashCode()lastUpdateDate(String lastUpdateDate) voidsetCreatedByUserId(String createdByUserId) voidsetCreationDate(String creationDate) voidsetDescription(String description) voidsetDisplayName(String displayName) voidvoidvoidsetLastUpdateDate(String lastUpdateDate) voidtoString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ICON
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_CREATED_BY_USER_ID
- See Also:
-
JSON_PROPERTY_LAST_UPDATE_DATE
- See Also:
-
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
id
-
getId
role ID- Returns:
- id
-
setId
-
name
-
getName
name- Returns:
- name
-
setName
-
displayName
-
getDisplayName
display name- Returns:
- displayName
-
setDisplayName
-
description
-
getDescription
description- Returns:
- description
-
setDescription
-
icon
-
getIcon
icon path- Returns:
- icon
-
setIcon
-
creationDate
-
getCreationDate
creation date (format: `2014-12-31 15:17:24.736`)- Returns:
- creationDate
-
setCreationDate
-
createdByUserId
-
getCreatedByUserId
Id of the user who created the role (-1 if the role was created by the technical admin or by an organisation import)- Returns:
- createdByUserId
-
setCreatedByUserId
-
lastUpdateDate
-
getLastUpdateDate
last update date (format: `2014-12-31 15:17:24.736`)- Returns:
- lastUpdateDate
-
setLastUpdateDate
-
equals
-
hashCode
public int hashCode() -
toString
-