public class MilestonesApi extends Object
Constructor and Description |
---|
MilestonesApi() |
MilestonesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
MilestoneDTO |
createMilestone(String workspaceId,
MilestoneDTO body)
Create a new milestone
|
com.squareup.okhttp.Call |
createMilestoneAsync(String workspaceId,
MilestoneDTO body,
ApiCallback<MilestoneDTO> callback)
Create a new milestone (asynchronously)
|
ApiResponse<MilestoneDTO> |
createMilestoneWithHttpInfo(String workspaceId,
MilestoneDTO body)
Create a new milestone
|
ApiClient |
getApiClient() |
MilestoneDTO |
getMilestone(String workspaceId,
Integer milestoneId)
Get a milestone by id
|
com.squareup.okhttp.Call |
getMilestoneAsync(String workspaceId,
Integer milestoneId,
ApiCallback<MilestoneDTO> callback)
Get a milestone by id (asynchronously)
|
List<MilestoneDTO> |
getMilestones(String workspaceId)
Get milestones for given parameters
|
com.squareup.okhttp.Call |
getMilestonesAsync(String workspaceId,
ApiCallback<List<MilestoneDTO>> callback)
Get milestones for given parameters (asynchronously)
|
ApiResponse<List<MilestoneDTO>> |
getMilestonesWithHttpInfo(String workspaceId)
Get milestones for given parameters
|
ApiResponse<MilestoneDTO> |
getMilestoneWithHttpInfo(String workspaceId,
Integer milestoneId)
Get a milestone by id
|
List<ChangeOrderDTO> |
getOrdersByMilestone(String workspaceId,
Integer milestoneId)
Get change orders for a given milestone
|
com.squareup.okhttp.Call |
getOrdersByMilestoneAsync(String workspaceId,
Integer milestoneId,
ApiCallback<List<ChangeOrderDTO>> callback)
Get change orders for a given milestone (asynchronously)
|
ApiResponse<List<ChangeOrderDTO>> |
getOrdersByMilestoneWithHttpInfo(String workspaceId,
Integer milestoneId)
Get change orders for a given milestone
|
List<ChangeRequestDTO> |
getRequestsByMilestone(String workspaceId,
Integer milestoneId)
Get change requests for a given milestone
|
com.squareup.okhttp.Call |
getRequestsByMilestoneAsync(String workspaceId,
Integer milestoneId,
ApiCallback<List<ChangeRequestDTO>> callback)
Get change requests for a given milestone (asynchronously)
|
ApiResponse<List<ChangeRequestDTO>> |
getRequestsByMilestoneWithHttpInfo(String workspaceId,
Integer milestoneId)
Get change requests for a given milestone
|
void |
removeMilestone(String workspaceId,
Integer milestoneId)
Delete milestone
|
com.squareup.okhttp.Call |
removeMilestoneAsync(String workspaceId,
Integer milestoneId,
ApiCallback<Void> callback)
Delete milestone (asynchronously)
|
ApiResponse<Void> |
removeMilestoneWithHttpInfo(String workspaceId,
Integer milestoneId)
Delete milestone
|
void |
setApiClient(ApiClient apiClient) |
MilestoneDTO |
updateMilestone(String workspaceId,
Integer milestoneId,
MilestoneDTO body)
Update milestone
|
void |
updateMilestoneACL(String workspaceId,
Integer milestoneId,
ACLDTO body)
Update ACL of a milestone
|
com.squareup.okhttp.Call |
updateMilestoneACLAsync(String workspaceId,
Integer milestoneId,
ACLDTO body,
ApiCallback<Void> callback)
Update ACL of a milestone (asynchronously)
|
ApiResponse<Void> |
updateMilestoneACLWithHttpInfo(String workspaceId,
Integer milestoneId,
ACLDTO body)
Update ACL of a milestone
|
com.squareup.okhttp.Call |
updateMilestoneAsync(String workspaceId,
Integer milestoneId,
MilestoneDTO body,
ApiCallback<MilestoneDTO> callback)
Update milestone (asynchronously)
|
ApiResponse<MilestoneDTO> |
updateMilestoneWithHttpInfo(String workspaceId,
Integer milestoneId,
MilestoneDTO body)
Update milestone
|
public MilestonesApi()
public MilestonesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<MilestoneDTO> getMilestones(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<MilestoneDTO>> getMilestonesWithHttpInfo(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMilestonesAsync(String workspaceId, ApiCallback<List<MilestoneDTO>> callback) throws ApiException
workspaceId
- Workspace idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic MilestoneDTO createMilestone(String workspaceId, MilestoneDTO body) throws ApiException
workspaceId
- Workspace idbody
- Milestone to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MilestoneDTO> createMilestoneWithHttpInfo(String workspaceId, MilestoneDTO body) throws ApiException
workspaceId
- Workspace idbody
- Milestone to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createMilestoneAsync(String workspaceId, MilestoneDTO body, ApiCallback<MilestoneDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Milestone to createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic MilestoneDTO getMilestone(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MilestoneDTO> getMilestoneWithHttpInfo(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMilestoneAsync(String workspaceId, Integer milestoneId, ApiCallback<MilestoneDTO> callback) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic MilestoneDTO updateMilestone(String workspaceId, Integer milestoneId, MilestoneDTO body) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idbody
- Milestone to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MilestoneDTO> updateMilestoneWithHttpInfo(String workspaceId, Integer milestoneId, MilestoneDTO body) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idbody
- Milestone to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateMilestoneAsync(String workspaceId, Integer milestoneId, MilestoneDTO body, ApiCallback<MilestoneDTO> callback) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idbody
- Milestone to updatecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void removeMilestone(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> removeMilestoneWithHttpInfo(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeMilestoneAsync(String workspaceId, Integer milestoneId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void updateMilestoneACL(String workspaceId, Integer milestoneId, ACLDTO body) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateMilestoneACLWithHttpInfo(String workspaceId, Integer milestoneId, ACLDTO body) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateMilestoneACLAsync(String workspaceId, Integer milestoneId, ACLDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idbody
- ACL rules to setcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<ChangeOrderDTO> getOrdersByMilestone(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ChangeOrderDTO>> getOrdersByMilestoneWithHttpInfo(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOrdersByMilestoneAsync(String workspaceId, Integer milestoneId, ApiCallback<List<ChangeOrderDTO>> callback) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<ChangeRequestDTO> getRequestsByMilestone(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ChangeRequestDTO>> getRequestsByMilestoneWithHttpInfo(String workspaceId, Integer milestoneId) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRequestsByMilestoneAsync(String workspaceId, Integer milestoneId, ApiCallback<List<ChangeRequestDTO>> callback) throws ApiException
workspaceId
- Workspace idmilestoneId
- Milestone idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.