Package com.contentful.java.cma
Class ModuleSpaceUsage
- java.lang.Object
-
- com.contentful.java.cma.ModuleSpaceUsage
-
public class ModuleSpaceUsage extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classModuleSpaceUsage.AsyncAsync module.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleSpaceUsage.Asyncasync()protected ServiceSpaceUsagecreateService(retrofit2.Retrofit retrofit)CMAArray<CMAUsage>fetchAll(java.lang.String organizationId, java.util.Map<java.lang.String,java.lang.String> query)Fetch all space usage the token has access to.
-
-
-
Method Detail
-
createService
protected ServiceSpaceUsage createService(retrofit2.Retrofit retrofit)
-
fetchAll
public CMAArray<CMAUsage> fetchAll(java.lang.String organizationId, java.util.Map<java.lang.String,java.lang.String> query)
Fetch all space usage the token has access to.- Parameters:
organizationId- organization id for the request.query- the criteria to narrow down the search result.- Returns:
CMAUsageresult instance
-
async
public ModuleSpaceUsage.Async async()
- Returns:
- a module with a set of asynchronous methods.
-
-