Class GroupRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
-
- com.cumulocity.rest.representation.user.GroupRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
public class GroupRepresentation extends CustomPropertiesMapRepresentation
-
-
Constructor Summary
Constructors Constructor Description GroupRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ApplicationRepresentation>
getApplications()
String
getDescription()
Map<String,List<String>>
getDevicePermissions()
Long
getId()
String
getName()
RoleReferenceCollectionRepresentation
getRoles()
UserReferenceCollectionRepresentation
getUsers()
void
setApplications(List<ApplicationRepresentation> applications)
void
setDescription(String description)
void
setDevicePermissions(Map<String,List<String>> devicePermissions)
void
setId(Long id)
void
setName(String name)
void
setRoles(RoleReferenceCollectionRepresentation roles)
void
setUsers(UserReferenceCollectionRepresentation users)
-
Methods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomProperties
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
-
-
-
Method Detail
-
setId
public void setId(Long id)
-
getId
@JSONProperty(ignoreIfNull=true) public Long getId()
-
getName
@JSONProperty(ignoreIfNull=true) public String getName()
-
setName
public void setName(String name)
-
getDescription
@JSONProperty(ignoreIfNull=true) public String getDescription()
-
setDescription
public void setDescription(String description)
-
getUsers
@JSONProperty(ignoreIfNull=true) public UserReferenceCollectionRepresentation getUsers()
-
setUsers
public void setUsers(UserReferenceCollectionRepresentation users)
-
getRoles
@JSONProperty(ignoreIfNull=true) public RoleReferenceCollectionRepresentation getRoles()
-
setRoles
public void setRoles(RoleReferenceCollectionRepresentation roles)
-
getDevicePermissions
@JSONProperty(ignoreIfNull=true) public Map<String,List<String>> getDevicePermissions()
-
getApplications
@JSONProperty(ignoreIfNull=true) public List<ApplicationRepresentation> getApplications()
-
setApplications
@JSONTypeHint(ApplicationRepresentation.class) public void setApplications(List<ApplicationRepresentation> applications)
-
-