Package com.contentful.java.cma
Class ModuleUsers
- java.lang.Object
-
- com.contentful.java.cma.ModuleUsers
-
public class ModuleUsers extends java.lang.ObjectUsers Module.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classModuleUsers.AsyncAsync module.
-
Constructor Summary
Constructors Constructor Description ModuleUsers(retrofit2.Retrofit retrofit, java.util.concurrent.Executor callbackExecutor, boolean environmentIdConfigured)Create module.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleUsers.Asyncasync()protected com.contentful.java.cma.ServiceUserscreateService(retrofit2.Retrofit retrofit)CMAUserfetchMe()Fetch your user information.
-
-
-
Constructor Detail
-
ModuleUsers
public ModuleUsers(retrofit2.Retrofit retrofit, java.util.concurrent.Executor callbackExecutor, boolean environmentIdConfigured)Create module.- Parameters:
retrofit- the retrofit instance to be used to create the service.callbackExecutor- to tell on which thread it should run.environmentIdConfigured- internal helper to see if environment was set.
-
-
Method Detail
-
createService
protected com.contentful.java.cma.ServiceUsers createService(retrofit2.Retrofit retrofit)
-
async
public ModuleUsers.Async async()
- Returns:
- a module with a set of asynchronous methods.
-
-