Package com.seeq.api
Class AccessKeysApi
java.lang.Object
com.seeq.api.AccessKeysApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateKey
(AccessKeyInputV1 body) Creates a new Access Key associated with the current session.createKeyWithHeadersAndHttpInfo
(AccessKeyInputV1 body, Map<String, String> customHeaders) Creates a new Access Key associated with the current session.Creates a new Access Key associated with the current session.Delete an Access KeydeleteKeyWithHeadersAndHttpInfo
(String keyName, Map<String, String> customHeaders) Delete an Access KeydeleteKeyWithHttpInfo
(String keyName) Delete an Access KeyGets the Access Keys associated with the current session's user.getKeysWithHeadersAndHttpInfo
(Integer offset, Integer limit, Boolean getAll, Map<String, String> customHeaders) Gets the Access Keys associated with the current session's user.getKeysWithHttpInfo
(Integer offset, Integer limit, Boolean getAll) Gets the Access Keys associated with the current session's user.long
void
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout)
-
Constructor Details
-
AccessKeysApi
public AccessKeysApi() -
AccessKeysApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
createKey
Creates a new Access Key associated with the current session.- Parameters:
body
- Key information (required)- Returns:
- AccessKeyOutputV1
- Throws:
ApiException
- if fails to make API call
-
createKeyWithHttpInfo
public ApiClient.ApiResponse<AccessKeyOutputV1> createKeyWithHttpInfo(AccessKeyInputV1 body) throws ApiException Creates a new Access Key associated with the current session.- Parameters:
body
- Key information (required)- Throws:
ApiException
- if fails to make API call
-
createKeyWithHeadersAndHttpInfo
public ApiClient.ApiResponse<AccessKeyOutputV1> createKeyWithHeadersAndHttpInfo(AccessKeyInputV1 body, Map<String, String> customHeaders) throws ApiExceptionCreates a new Access Key associated with the current session.- Parameters:
body
- Key information (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
deleteKey
Delete an Access Key- Parameters:
keyName
- Key Information (required)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
deleteKeyWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> deleteKeyWithHttpInfo(String keyName) throws ApiException Delete an Access Key- Parameters:
keyName
- Key Information (required)- Throws:
ApiException
- if fails to make API call
-
deleteKeyWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> deleteKeyWithHeadersAndHttpInfo(String keyName, Map<String, String> customHeaders) throws ApiExceptionDelete an Access Key- Parameters:
keyName
- Key Information (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getKeys
public AccessKeyOutputListV1 getKeys(Integer offset, Integer limit, Boolean getAll) throws ApiException Gets the Access Keys associated with the current session's user.- Parameters:
offset
- The pagination offset, the index of the first collection key that will be returned in this page of results (optional, default to 0)limit
- The pagination limit, the total number of collection keys that will be returned in this page of results (optional, default to 40)getAll
- Get all user keys if true, only the current user's keys if false. (optional, default to false)- Returns:
- AccessKeyOutputListV1
- Throws:
ApiException
- if fails to make API call
-
getKeysWithHttpInfo
public ApiClient.ApiResponse<AccessKeyOutputListV1> getKeysWithHttpInfo(Integer offset, Integer limit, Boolean getAll) throws ApiException Gets the Access Keys associated with the current session's user.- Parameters:
offset
- The pagination offset, the index of the first collection key that will be returned in this page of results (optional, default to 0)limit
- The pagination limit, the total number of collection keys that will be returned in this page of results (optional, default to 40)getAll
- Get all user keys if true, only the current user's keys if false. (optional, default to false)- Throws:
ApiException
- if fails to make API call
-
getKeysWithHeadersAndHttpInfo
public ApiClient.ApiResponse<AccessKeyOutputListV1> getKeysWithHeadersAndHttpInfo(Integer offset, Integer limit, Boolean getAll, Map<String, String> customHeaders) throws ApiExceptionGets the Access Keys associated with the current session's user.- Parameters:
offset
- The pagination offset, the index of the first collection key that will be returned in this page of results (optional, default to 0)limit
- The pagination limit, the total number of collection keys that will be returned in this page of results (optional, default to 40)getAll
- Get all user keys if true, only the current user's keys if false. (optional, default to false)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-