public class SharedApi extends Object
Constructor and Description |
---|
SharedApi() |
SharedApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
DocumentRevisionDTO |
getDocumentWithSharedEntity(String uuid,
String password)
Get shared document from resource token
|
com.squareup.okhttp.Call |
getDocumentWithSharedEntityAsync(String uuid,
String password,
ApiCallback<DocumentRevisionDTO> callback)
Get shared document from resource token (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
getDocumentWithSharedEntityWithHttpInfo(String uuid,
String password)
Get shared document from resource token
|
PartRevisionDTO |
getPartWithSharedEntity(String uuid,
String password)
Get shared part from resource token
|
com.squareup.okhttp.Call |
getPartWithSharedEntityAsync(String uuid,
String password,
ApiCallback<PartRevisionDTO> callback)
Get shared part from resource token (asynchronously)
|
ApiResponse<PartRevisionDTO> |
getPartWithSharedEntityWithHttpInfo(String uuid,
String password)
Get shared part from resource token
|
DocumentRevisionDTO |
getPublicSharedDocumentRevision(String workspaceId,
String documentId,
String documentVersion)
Get public shared document revision
|
com.squareup.okhttp.Call |
getPublicSharedDocumentRevisionAsync(String workspaceId,
String documentId,
String documentVersion,
ApiCallback<DocumentRevisionDTO> callback)
Get public shared document revision (asynchronously)
|
ApiResponse<DocumentRevisionDTO> |
getPublicSharedDocumentRevisionWithHttpInfo(String workspaceId,
String documentId,
String documentVersion)
Get public shared document revision
|
PartRevisionDTO |
getPublicSharedPartRevision(String workspaceId,
String partNumber,
String partVersion)
Get public shared part revision
|
com.squareup.okhttp.Call |
getPublicSharedPartRevisionAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Get public shared part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
getPublicSharedPartRevisionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get public shared part revision
|
void |
setApiClient(ApiClient apiClient) |
public SharedApi()
public SharedApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public DocumentRevisionDTO getDocumentWithSharedEntity(String uuid, String password) throws ApiException
uuid
- Resource tokenpassword
- Password for resourceApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> getDocumentWithSharedEntityWithHttpInfo(String uuid, String password) throws ApiException
uuid
- Resource tokenpassword
- Password for resourceApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDocumentWithSharedEntityAsync(String uuid, String password, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
uuid
- Resource tokenpassword
- Password for resourcecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO getPartWithSharedEntity(String uuid, String password) throws ApiException
uuid
- Resource tokenpassword
- Password for resourceApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> getPartWithSharedEntityWithHttpInfo(String uuid, String password) throws ApiException
uuid
- Resource tokenpassword
- Password for resourceApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPartWithSharedEntityAsync(String uuid, String password, ApiCallback<PartRevisionDTO> callback) throws ApiException
uuid
- Resource tokenpassword
- Password for resourcecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic DocumentRevisionDTO getPublicSharedDocumentRevision(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentRevisionDTO> getPublicSharedDocumentRevisionWithHttpInfo(String workspaceId, String documentId, String documentVersion) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPublicSharedDocumentRevisionAsync(String workspaceId, String documentId, String documentVersion, ApiCallback<DocumentRevisionDTO> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master iddocumentVersion
- Document versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO getPublicSharedPartRevision(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> getPublicSharedPartRevisionWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPublicSharedPartRevisionAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- 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.