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