public class PartEffectivitiesApi extends Object
Constructor and Description |
---|
PartEffectivitiesApi() |
PartEffectivitiesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
EffectivityDTO |
createEffectivity(EffectivityDTO body,
String workspaceId,
String partNumber,
String partVersion)
Create an Effectivity for a given PartRevision
|
com.squareup.okhttp.Call |
createEffectivityAsync(EffectivityDTO body,
String workspaceId,
String partNumber,
String partVersion,
ApiCallback<EffectivityDTO> callback)
Create an Effectivity for a given PartRevision (asynchronously)
|
ApiResponse<EffectivityDTO> |
createEffectivityWithHttpInfo(EffectivityDTO body,
String workspaceId,
String partNumber,
String partVersion)
Create an Effectivity for a given PartRevision
|
void |
deleteEffectivity(String workspaceId,
String partNumber,
String partVersion,
Integer effectivityId)
Delete effectivity from given part revision
|
com.squareup.okhttp.Call |
deleteEffectivityAsync(String workspaceId,
String partNumber,
String partVersion,
Integer effectivityId,
ApiCallback<Void> callback)
Delete effectivity from given part revision (asynchronously)
|
ApiResponse<Void> |
deleteEffectivityWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
Integer effectivityId)
Delete effectivity from given part revision
|
ApiClient |
getApiClient() |
List<EffectivityDTO> |
getEffectivities(String workspaceId,
String partNumber,
String partVersion)
Get effectivities of a given PartRevision
|
com.squareup.okhttp.Call |
getEffectivitiesAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<EffectivityDTO>> callback)
Get effectivities of a given PartRevision (asynchronously)
|
ApiResponse<List<EffectivityDTO>> |
getEffectivitiesWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get effectivities of a given PartRevision
|
void |
setApiClient(ApiClient apiClient) |
public PartEffectivitiesApi()
public PartEffectivitiesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<EffectivityDTO> getEffectivities(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<EffectivityDTO>> getEffectivitiesWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEffectivitiesAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<EffectivityDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision 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 EffectivityDTO createEffectivity(EffectivityDTO body, String workspaceId, String partNumber, String partVersion) throws ApiException
body
- Effectivity to createworkspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EffectivityDTO> createEffectivityWithHttpInfo(EffectivityDTO body, String workspaceId, String partNumber, String partVersion) throws ApiException
body
- Effectivity to createworkspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createEffectivityAsync(EffectivityDTO body, String workspaceId, String partNumber, String partVersion, ApiCallback<EffectivityDTO> callback) throws ApiException
body
- Effectivity to createworkspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision 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 void deleteEffectivity(String workspaceId, String partNumber, String partVersion, Integer effectivityId) throws ApiException
workspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versioneffectivityId
- Effectivity idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteEffectivityWithHttpInfo(String workspaceId, String partNumber, String partVersion, Integer effectivityId) throws ApiException
workspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versioneffectivityId
- Effectivity idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteEffectivityAsync(String workspaceId, String partNumber, String partVersion, Integer effectivityId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part revision numberpartVersion
- Part revision versioneffectivityId
- Effectivity 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.