@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.HookKeyApi")
public class HookKeyApi
extends java.lang.Object
| Constructor and Description |
|---|
HookKeyApi() |
HookKeyApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createHookKey(java.lang.Class<?> T,
KeyRequest keyRequest)
Create a key
Creates a key
|
HookKey |
createHookKey(KeyRequest keyRequest)
Create a key
Creates a key
|
PagedList |
createHookKeyWithPaginationInfo(KeyRequest keyRequest)
Create a key
Creates a key
|
void |
deleteHookKey(java.lang.String hookKeyId)
Delete a key
Deletes a key by `hookKeyId`.
|
ApiClient |
getApiClient() |
HookKey |
getHookKey(java.lang.String hookKeyId)
Retrieve a key
Retrieves a key by `hookKeyId`
|
PagedList |
getHookKeyWithPaginationInfo(java.lang.String hookKeyId)
Retrieve a key
Retrieves a key by `hookKeyId`
|
JsonWebKey |
getPublicKey(java.lang.String keyId)
Retrieve a public key
Retrieves a public key by `keyId`
|
PagedList |
getPublicKeyWithPaginationInfo(java.lang.String keyId)
Retrieve a public key
Retrieves a public key by `keyId`
|
java.util.List<HookKey> |
listHookKeys()
List all keys
Lists all keys
|
PagedList |
listHookKeysWithPaginationInfo()
List all keys
Lists all keys
|
<T> T |
replaceHookKey(java.lang.Class<?> T,
java.lang.String hookKeyId,
KeyRequest keyRequest)
Replace a key
Replace a key by `hookKeyId`
|
HookKey |
replaceHookKey(java.lang.String hookKeyId,
KeyRequest keyRequest)
Replace a key
Replace a key by `hookKeyId`
|
PagedList |
replaceHookKeyWithPaginationInfo(java.lang.String hookKeyId,
KeyRequest keyRequest)
Replace a key
Replace a key by `hookKeyId`
|
void |
setApiClient(ApiClient apiClient) |
public HookKeyApi()
@Autowired public HookKeyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public HookKey createHookKey(KeyRequest keyRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
keyRequest - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic <T> T createHookKey(java.lang.Class<?> T,
KeyRequest keyRequest)
throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
T - (required) - the assignable return typekeyRequest - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList createHookKeyWithPaginationInfo(KeyRequest keyRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
keyRequest - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic void deleteHookKey(java.lang.String hookKeyId)
throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
hookKeyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic HookKey getHookKey(java.lang.String hookKeyId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
hookKeyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList getHookKeyWithPaginationInfo(java.lang.String hookKeyId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
hookKeyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic JsonWebKey getPublicKey(java.lang.String keyId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
keyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList getPublicKeyWithPaginationInfo(java.lang.String keyId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
keyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic java.util.List<HookKey> listHookKeys() throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList listHookKeysWithPaginationInfo() throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic HookKey replaceHookKey(java.lang.String hookKeyId, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
hookKeyId - (required)keyRequest - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic <T> T replaceHookKey(java.lang.Class<?> T,
java.lang.String hookKeyId,
KeyRequest keyRequest)
throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T - (required) - the assignable return typehookKeyId - (required)keyRequest - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList replaceHookKeyWithPaginationInfo(java.lang.String hookKeyId, KeyRequest keyRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
hookKeyId - (required)keyRequest - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.