com.cumulocity.rest.representation.user
Class GroupRepresentation

java.lang.Object
  extended by com.cumulocity.rest.representation.BaseResourceRepresentation
      extended by com.cumulocity.rest.representation.user.GroupRepresentation
All Implemented Interfaces:
ResourceRepresentation

public class GroupRepresentation
extends BaseResourceRepresentation


Constructor Summary
GroupRepresentation()
           
 
Method Summary
 Long getId()
           
 String getName()
           
 RoleReferenceCollectionRepresentation getRoles()
           
 UserReferenceCollectionRepresentation getUsers()
           
 void setId(Long id)
           
 void setName(String name)
           
 void setRoles(RoleReferenceCollectionRepresentation roles)
           
 void setUsers(UserReferenceCollectionRepresentation users)
           
 
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, setSelf, toJSON, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupRepresentation

public GroupRepresentation()
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)

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)


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.