com.cumulocity.rest.representation.user
Class UserRepresentation

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

public class UserRepresentation
extends BaseResourceRepresentation


Constructor Summary
UserRepresentation()
           
 
Method Summary
 String getEmail()
           
 Boolean getEnabled()
           
 String getFirstName()
           
 GroupReferenceCollectionRepresentation getGroups()
           
 String getId()
           
 String getLastName()
           
 String getPassword()
           
 String getPhone()
           
 RoleReferenceCollectionRepresentation getRoles()
           
 String getUserName()
           
 void setEmail(String email)
           
 void setEnabled(Boolean enabled)
           
 void setFirstName(String firstName)
           
 void setGroups(GroupReferenceCollectionRepresentation groups)
           
 void setId(String id)
           
 void setLastName(String lastName)
           
 void setPassword(String password)
           
 void setPhone(String phone)
           
 void setRoles(RoleReferenceCollectionRepresentation roles)
           
 void setUserName(String userName)
           
 
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

UserRepresentation

public UserRepresentation()
Method Detail

getUserName

@JSONProperty(ignoreIfNull=true)
public String getUserName()

setUserName

public void setUserName(String userName)

getPassword

@JSONProperty(ignoreIfNull=true)
public String getPassword()

setPassword

public void setPassword(String password)

getFirstName

@JSONProperty(ignoreIfNull=true)
public String getFirstName()

setFirstName

public void setFirstName(String firstName)

getLastName

@JSONProperty(ignoreIfNull=true)
public String getLastName()

setLastName

public void setLastName(String lastName)

getPhone

@JSONProperty(ignoreIfNull=true)
public String getPhone()

setPhone

public void setPhone(String phone)

getEmail

@JSONProperty(ignoreIfNull=true)
public String getEmail()

setEmail

public void setEmail(String email)

getEnabled

@JSONProperty(ignoreIfNull=true)
public Boolean getEnabled()

setEnabled

public void setEnabled(Boolean enabled)

getGroups

@JSONProperty(ignoreIfNull=true)
public GroupReferenceCollectionRepresentation getGroups()

setGroups

public void setGroups(GroupReferenceCollectionRepresentation groups)

getRoles

@JSONProperty(ignoreIfNull=true)
public RoleReferenceCollectionRepresentation getRoles()

setRoles

public void setRoles(RoleReferenceCollectionRepresentation roles)

getId

@JSONProperty(ignoreIfNull=true)
public String getId()

setId

public void setId(String id)


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