Package io.github.kaposke.services
Class UserService
java.lang.Object
io.github.kaposke.services.BaseService
io.github.kaposke.services.UserService
- All Implemented Interfaces:
UserClient
-
Field Summary
Fields inherited from class io.github.kaposke.services.BaseService
httpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateUserRequest input) getById(float id) remove(float id) update(EditUserRequest input, float id) Methods inherited from class io.github.kaposke.services.BaseService
execute
-
Constructor Details
-
UserService
public UserService(okhttp3.OkHttpClient httpClient)
-
-
Method Details
-
getCurrentUser
- Specified by:
getCurrentUserin interfaceUserClient- Throws:
ApiException
-
getUserApis
- Specified by:
getUserApisin interfaceUserClient- Throws:
ApiException
-
create
- Specified by:
createin interfaceUserClient- Throws:
ApiException
-
getById
- Specified by:
getByIdin interfaceUserClient- Throws:
ApiException
-
update
- Specified by:
updatein interfaceUserClient- Throws:
ApiException
-
remove
- Specified by:
removein interfaceUserClient- Throws:
ApiException
-