Constructor and Description |
---|
UserApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
UsersApiRepresentation usersApiRepresentation) |
Modifier and Type | Method and Description |
---|---|
UserRepresentation |
create(String tenant,
UserRepresentation userRepresentation) |
void |
delete(String tenant,
String userName) |
CurrentUserRepresentation |
getCurrentUser() |
UserRepresentation |
getCurrentUserWithCustomProperties() |
UserRepresentation |
getUser(String tenant,
String user) |
UserRepresentation |
update(String tenant,
UserRepresentation userRepresentation) |
CurrentUserRepresentation |
updateCurrentUser(CurrentUserRepresentation currentUserRepresentation) |
public UserApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, UsersApiRepresentation usersApiRepresentation)
public CurrentUserRepresentation getCurrentUser()
getCurrentUser
in interface UserApi
public CurrentUserRepresentation updateCurrentUser(CurrentUserRepresentation currentUserRepresentation)
updateCurrentUser
in interface UserApi
public UserRepresentation getCurrentUserWithCustomProperties()
getCurrentUserWithCustomProperties
in interface UserApi
public UserRepresentation getUser(String tenant, String user)
public UserRepresentation create(String tenant, UserRepresentation userRepresentation)
public UserRepresentation update(String tenant, UserRepresentation userRepresentation)
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.