Package org.bonitasoft.web.client.model
Class Role
- java.lang.Object
-
- org.bonitasoft.web.client.model.Role
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Role extends Object implements Serializable
The role of a user in a group- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_BY_USER_IDstatic StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_DISPLAY_NAMEstatic StringJSON_PROPERTY_ICONstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_LAST_UPDATE_DATEstatic StringJSON_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolecreatedByUserId(String createdByUserId)RolecreationDate(String creationDate)Roledescription(String description)RoledisplayName(String displayName)booleanequals(Object o)StringgetCreatedByUserId()Id of the user who created the role (-1 if the role was created by the tenant admin or by an organisation import)StringgetCreationDate()creation date (format: `2014-12-31 15:17:24.736`)StringgetDescription()descriptionStringgetDisplayName()display nameStringgetIcon()icon pathStringgetId()role IDStringgetLastUpdateDate()last update date (format: `2014-12-31 15:17:24.736`)StringgetName()nameinthashCode()Roleicon(String icon)Roleid(String id)RolelastUpdateDate(String lastUpdateDate)Rolename(String name)voidsetCreatedByUserId(String createdByUserId)voidsetCreationDate(String creationDate)voidsetDescription(String description)voidsetDisplayName(String displayName)voidsetIcon(String icon)voidsetId(String id)voidsetLastUpdateDate(String lastUpdateDate)voidsetName(String name)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_DISPLAY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ICON
public static final String JSON_PROPERTY_ICON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATION_DATE
public static final String JSON_PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_BY_USER_ID
public static final String JSON_PROPERTY_CREATED_BY_USER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_UPDATE_DATE
public static final String JSON_PROPERTY_LAST_UPDATE_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(String id)
-
setName
public void setName(String name)
-
setDisplayName
public void setDisplayName(String displayName)
-
setDescription
public void setDescription(String description)
-
setIcon
public void setIcon(String icon)
-
getCreationDate
@Nullable public String getCreationDate()
creation date (format: `2014-12-31 15:17:24.736`)- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(String creationDate)
-
getCreatedByUserId
@Nullable public String getCreatedByUserId()
Id of the user who created the role (-1 if the role was created by the tenant admin or by an organisation import)- Returns:
- createdByUserId
-
setCreatedByUserId
public void setCreatedByUserId(String createdByUserId)
-
getLastUpdateDate
@Nullable public String getLastUpdateDate()
last update date (format: `2014-12-31 15:17:24.736`)- Returns:
- lastUpdateDate
-
setLastUpdateDate
public void setLastUpdateDate(String lastUpdateDate)
-
-