public class ReportingApi
extends java.lang.Object
| Constructor and Description |
|---|
ReportingApi() |
ReportingApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Job |
generateReport(java.lang.Integer projectId,
java.lang.String reportType,
GenerateReport body)
Generate Report
Allows user to queue a job to generate a report.
|
com.squareup.okhttp.Call |
generateReportAsync(java.lang.Integer projectId,
java.lang.String reportType,
GenerateReport body,
ApiCallback<Job> callback)
Generate Report (asynchronously)
Allows user to queue a job to generate a report.
|
com.squareup.okhttp.Call |
generateReportCall(java.lang.Integer projectId,
java.lang.String reportType,
GenerateReport body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generateReport
|
ApiResponse<Job> |
generateReportWithHttpInfo(java.lang.Integer projectId,
java.lang.String reportType,
GenerateReport body)
Generate Report
Allows user to queue a job to generate a report.
|
ApiClient |
getApiClient() |
java.util.Map<java.lang.String,ReportType> |
getReportTypes(java.lang.Integer projectId)
Report Types
Provides a list of report types for a project.
|
com.squareup.okhttp.Call |
getReportTypesAsync(java.lang.Integer projectId,
ApiCallback<java.util.Map<java.lang.String,ReportType>> callback)
Report Types (asynchronously)
Provides a list of report types for a project.
|
com.squareup.okhttp.Call |
getReportTypesCall(java.lang.Integer projectId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getReportTypes
|
ApiResponse<java.util.Map<java.lang.String,ReportType>> |
getReportTypesWithHttpInfo(java.lang.Integer projectId)
Report Types
Provides a list of report types for a project.
|
void |
setApiClient(ApiClient apiClient) |
public ReportingApi()
public ReportingApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call generateReportCall(java.lang.Integer projectId,
java.lang.String reportType,
GenerateReport body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)reportType - (required)body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Job generateReport(java.lang.Integer projectId, java.lang.String reportType, GenerateReport body) throws ApiException
projectId - The ID of the project. (required)reportType - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Job> generateReportWithHttpInfo(java.lang.Integer projectId, java.lang.String reportType, GenerateReport body) throws ApiException
projectId - The ID of the project. (required)reportType - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call generateReportAsync(java.lang.Integer projectId,
java.lang.String reportType,
GenerateReport body,
ApiCallback<Job> callback)
throws ApiException
projectId - The ID of the project. (required)reportType - (required)body - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getReportTypesCall(java.lang.Integer projectId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.Map<java.lang.String,ReportType> getReportTypes(java.lang.Integer projectId) throws ApiException
projectId - The ID of the project. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.Map<java.lang.String,ReportType>> getReportTypesWithHttpInfo(java.lang.Integer projectId) throws ApiException
projectId - The ID of the project. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getReportTypesAsync(java.lang.Integer projectId,
ApiCallback<java.util.Map<java.lang.String,ReportType>> callback)
throws ApiException
projectId - The ID of the project. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object