Package com.veeroute.lss.account.api
Class DataApi
java.lang.Object
com.veeroute.lss.account.api.DataApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]Reading input data Receiving an incoming request by `tracedata.process_code`.okhttp3.CallreadDataAsync(UUID processCode, FlowType dataFlowType, FlowStage dataFlowStage, ApiCallback<byte[]> _callback) Reading input data (asynchronously) Receiving an incoming request by `tracedata.process_code`.okhttp3.CallreadDataCall(UUID processCode, FlowType dataFlowType, FlowStage dataFlowStage, ApiCallback _callback) Build call for readDataApiResponse<byte[]> readDataWithHttpInfo(UUID processCode, FlowType dataFlowType, FlowStage dataFlowStage) Reading input data Receiving an incoming request by `tracedata.process_code`.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
DataApi
public DataApi() -
DataApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
readDataCall
public okhttp3.Call readDataCall(@Nonnull UUID processCode, @Nullable FlowType dataFlowType, @Nullable FlowStage dataFlowStage, ApiCallback _callback) throws ApiException Build call for readData- Parameters:
processCode- Unique process identifier. (required)dataFlowType- Data flow type. (optional, default to INPUT)dataFlowStage- Data flow stage. (optional, default to RAW)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readData
public byte[] readData(@Nonnull UUID processCode, @Nullable FlowType dataFlowType, @Nullable FlowStage dataFlowStage) throws ApiException Reading input data Receiving an incoming request by `tracedata.process_code`.- Parameters:
processCode- Unique process identifier. (required)dataFlowType- Data flow type. (optional, default to INPUT)dataFlowStage- Data flow stage. (optional, default to RAW)- Returns:
- byte[]
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readDataWithHttpInfo
public ApiResponse<byte[]> readDataWithHttpInfo(@Nonnull UUID processCode, @Nullable FlowType dataFlowType, @Nullable FlowStage dataFlowStage) throws ApiException Reading input data Receiving an incoming request by `tracedata.process_code`.- Parameters:
processCode- Unique process identifier. (required)dataFlowType- Data flow type. (optional, default to INPUT)dataFlowStage- Data flow stage. (optional, default to RAW)- Returns:
- ApiResponse<byte[]>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readDataAsync
public okhttp3.Call readDataAsync(@Nonnull UUID processCode, @Nullable FlowType dataFlowType, @Nullable FlowStage dataFlowStage, ApiCallback<byte[]> _callback) throws ApiException Reading input data (asynchronously) Receiving an incoming request by `tracedata.process_code`.- Parameters:
processCode- Unique process identifier. (required)dataFlowType- Data flow type. (optional, default to INPUT)dataFlowStage- Data flow stage. (optional, default to RAW)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-