Package dev.restate.admin.api
Class VersionApi
java.lang.Object
dev.restate.admin.api.VersionApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadFileFromResponse(HttpResponse<InputStream> response) Download file from the given response.protected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) version()Admin version information Obtain admin version information.Admin version information Obtain admin version information.Admin version information Obtain admin version information.versionWithHttpInfo(Map<String, String> headers) Admin version information Obtain admin version information.
-
Constructor Details
-
VersionApi
public VersionApi() -
VersionApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
downloadFileFromResponse
Download file from the given response.- Parameters:
response- Response- Returns:
- File
- Throws:
ApiException- If fail to read file content from response and write to disk
-
version
Admin version information Obtain admin version information.- Returns:
- VersionInformation
- Throws:
ApiException- if fails to make API call
-
version
Admin version information Obtain admin version information.- Parameters:
headers- Optional headers to include in the request- Returns:
- VersionInformation
- Throws:
ApiException- if fails to make API call
-
versionWithHttpInfo
Admin version information Obtain admin version information.- Returns:
- ApiResponse<VersionInformation>
- Throws:
ApiException- if fails to make API call
-
versionWithHttpInfo
public ApiResponse<VersionInformation> versionWithHttpInfo(Map<String, String> headers) throws ApiExceptionAdmin version information Obtain admin version information.- Parameters:
headers- Optional headers to include in the request- Returns:
- ApiResponse<VersionInformation>
- Throws:
ApiException- if fails to make API call
-