Package com.cumulocity.sdk.client.user
Class UserApiImpl
- java.lang.Object
-
- com.cumulocity.sdk.client.user.UserApiImpl
-
-
Constructor Summary
Constructors Constructor Description UserApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, UsersApiRepresentation usersApiRepresentation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserRepresentationcreate(String tenant, UserRepresentation userRepresentation)voiddelete(String tenant, String userName)CurrentUserRepresentationgetCurrentUser()UserRepresentationgetCurrentUserWithCustomProperties()UserRepresentationgetUser(String tenant, String user)UserRepresentationupdate(String tenant, UserRepresentation userRepresentation)CurrentUserRepresentationupdateCurrentUser(CurrentUserRepresentation currentUserRepresentation)
-
-
-
Constructor Detail
-
UserApiImpl
public UserApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, UsersApiRepresentation usersApiRepresentation)
-
-
Method Detail
-
getCurrentUser
public CurrentUserRepresentation getCurrentUser()
- Specified by:
getCurrentUserin interfaceUserApi
-
updateCurrentUser
public CurrentUserRepresentation updateCurrentUser(CurrentUserRepresentation currentUserRepresentation)
- Specified by:
updateCurrentUserin interfaceUserApi
-
getCurrentUserWithCustomProperties
public UserRepresentation getCurrentUserWithCustomProperties()
- Specified by:
getCurrentUserWithCustomPropertiesin interfaceUserApi
-
getUser
public UserRepresentation getUser(String tenant, String user)
-
create
public UserRepresentation create(String tenant, UserRepresentation userRepresentation)
-
update
public UserRepresentation update(String tenant, UserRepresentation userRepresentation)
-
-