public class DevicePermissionOwnersRepresentation extends BaseResourceRepresentation
Constructor and Description |
---|
DevicePermissionOwnersRepresentation() |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(GroupRepresentation representation) |
void |
addUser(UserRepresentation representation) |
List<GroupRepresentation> |
getGroups() |
List<UserRepresentation> |
getUsers() |
void |
setGroups(List<GroupRepresentation> groups) |
void |
setUsers(List<UserRepresentation> users) |
getSelf, getSelfDecoded, setSelf, toJSON, toString
public DevicePermissionOwnersRepresentation()
public void addUser(UserRepresentation representation)
public List<UserRepresentation> getUsers()
@JSONTypeHint(value=UserRepresentation.class) public void setUsers(List<UserRepresentation> users)
public void addGroup(GroupRepresentation representation)
public List<GroupRepresentation> getGroups()
@JSONTypeHint(value=GroupRepresentation.class) public void setGroups(List<GroupRepresentation> groups)
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.