Class HookKeyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
createHookKey
(Class<?> T, KeyRequest keyRequest) Create a key Creates a keycreateHookKey
(KeyRequest keyRequest) Create a key Creates a keyorg.springframework.http.ResponseEntity<HookKey>
createHookKeyWithHttpInfo
(KeyRequest keyRequest) Create a key Creates a keycreateHookKeyWithPaginationInfo
(KeyRequest keyRequest) Create a key Creates a keyvoid
deleteHookKey
(String hookKeyId) Delete a key Deletes a key by `hookKeyId`.org.springframework.http.ResponseEntity<Void>
deleteHookKeyWithHttpInfo
(String hookKeyId) Delete a key Deletes a key by `hookKeyId`.getHookKey
(String hookKeyId) Retrieve a key Retrieves a key by `hookKeyId`org.springframework.http.ResponseEntity<HookKey>
getHookKeyWithHttpInfo
(String hookKeyId) Retrieve a key Retrieves a key by `hookKeyId`getHookKeyWithPaginationInfo
(String hookKeyId) Retrieve a key Retrieves a key by `hookKeyId`getPublicKey
(String keyId) Retrieve a public key Retrieves a public key by `keyId`org.springframework.http.ResponseEntity<JsonWebKey>
getPublicKeyWithHttpInfo
(String keyId) Retrieve a public key Retrieves a public key by `keyId`Retrieve a public key Retrieves a public key by `keyId`List all keys Lists all keysList all keys Lists all keysList all keys Lists all keys<T> T
replaceHookKey
(Class<?> T, String hookKeyId, KeyRequest keyRequest) Replace a key Replace a key by `hookKeyId`replaceHookKey
(String hookKeyId, KeyRequest keyRequest) Replace a key Replace a key by `hookKeyId`org.springframework.http.ResponseEntity<HookKey>
replaceHookKeyWithHttpInfo
(String hookKeyId, KeyRequest keyRequest) Replace a key Replace a key by `hookKeyId`replaceHookKeyWithPaginationInfo
(String hookKeyId, KeyRequest keyRequest) Replace a key Replace a key by `hookKeyId`void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
HookKeyApi
public HookKeyApi() -
HookKeyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createHookKey
public HookKey createHookKey(KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Create a key Creates a key200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
keyRequest
- (required)- Returns:
- HookKey
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createHookKey
public <T> T createHookKey(Class<?> T, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Create a key Creates a key200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typekeyRequest
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createHookKeyWithHttpInfo
public org.springframework.http.ResponseEntity<HookKey> createHookKeyWithHttpInfo(KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Create a key Creates a key200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
keyRequest
- (required)- Returns:
- ResponseEntity<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createHookKeyWithPaginationInfo
public PagedList createHookKeyWithPaginationInfo(KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Create a key Creates a key200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
keyRequest
- (required)- Returns:
- ResponseEntity<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deleteHookKey
public void deleteHookKey(String hookKeyId) throws org.springframework.web.client.RestClientException Delete a key Deletes a key by `hookKeyId`. Once deleted, the Hook Key is unrecoverable. As a safety precaution, unused keys are eligible for deletion.204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deleteHookKeyWithHttpInfo
public org.springframework.http.ResponseEntity<Void> deleteHookKeyWithHttpInfo(String hookKeyId) throws org.springframework.web.client.RestClientException Delete a key Deletes a key by `hookKeyId`. Once deleted, the Hook Key is unrecoverable. As a safety precaution, unused keys are eligible for deletion.204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getHookKey
public HookKey getHookKey(String hookKeyId) throws org.springframework.web.client.RestClientException Retrieve a key Retrieves a key by `hookKeyId`200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)- Returns:
- HookKey
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getHookKeyWithHttpInfo
public org.springframework.http.ResponseEntity<HookKey> getHookKeyWithHttpInfo(String hookKeyId) throws org.springframework.web.client.RestClientException Retrieve a key Retrieves a key by `hookKeyId`200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)- Returns:
- ResponseEntity<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getHookKeyWithPaginationInfo
public PagedList getHookKeyWithPaginationInfo(String hookKeyId) throws org.springframework.web.client.RestClientException Retrieve a key Retrieves a key by `hookKeyId`200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)- Returns:
- ResponseEntity<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPublicKey
public JsonWebKey getPublicKey(String keyId) throws org.springframework.web.client.RestClientException Retrieve a public key Retrieves a public key by `keyId`200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
keyId
- (required)- Returns:
- JsonWebKey
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPublicKeyWithHttpInfo
public org.springframework.http.ResponseEntity<JsonWebKey> getPublicKeyWithHttpInfo(String keyId) throws org.springframework.web.client.RestClientException Retrieve a public key Retrieves a public key by `keyId`200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
keyId
- (required)- Returns:
- ResponseEntity<JsonWebKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPublicKeyWithPaginationInfo
public PagedList getPublicKeyWithPaginationInfo(String keyId) throws org.springframework.web.client.RestClientException Retrieve a public key Retrieves a public key by `keyId`200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
keyId
- (required)- Returns:
- ResponseEntity<JsonWebKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listHookKeys
List all keys Lists all keys200 - Success
403 - Forbidden
429 - Too Many Requests
- Returns:
- List<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listHookKeysWithHttpInfo
public org.springframework.http.ResponseEntity<List<HookKey>> listHookKeysWithHttpInfo() throws org.springframework.web.client.RestClientExceptionList all keys Lists all keys200 - Success
403 - Forbidden
429 - Too Many Requests
- Returns:
- ResponseEntity<List<HookKey>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listHookKeysWithPaginationInfo
public PagedList listHookKeysWithPaginationInfo() throws org.springframework.web.client.RestClientExceptionList all keys Lists all keys200 - Success
403 - Forbidden
429 - Too Many Requests
- Returns:
- ResponseEntity<List<HookKey>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replaceHookKey
public HookKey replaceHookKey(String hookKeyId, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Replace a key Replace a key by `hookKeyId`200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)keyRequest
- (required)- Returns:
- HookKey
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replaceHookKey
public <T> T replaceHookKey(Class<?> T, String hookKeyId, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Replace a key Replace a key by `hookKeyId`200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typehookKeyId
- (required)keyRequest
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replaceHookKeyWithHttpInfo
public org.springframework.http.ResponseEntity<HookKey> replaceHookKeyWithHttpInfo(String hookKeyId, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Replace a key Replace a key by `hookKeyId`200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)keyRequest
- (required)- Returns:
- ResponseEntity<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replaceHookKeyWithPaginationInfo
public PagedList replaceHookKeyWithPaginationInfo(String hookKeyId, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException Replace a key Replace a key by `hookKeyId`200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
hookKeyId
- (required)keyRequest
- (required)- Returns:
- ResponseEntity<HookKey>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-