@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-02-10T11:07:35.698-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.HookKeyApi") public class HookKeyApi extends Object
Constructor and Description |
---|
HookKeyApi() |
HookKeyApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
createHookKey(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(String hookKeyId)
Delete a key
Deletes a key by `hookKeyId`.
|
ApiClient |
getApiClient() |
HookKey |
getHookKey(String hookKeyId)
Retrieve a key
Retrieves a key by `hookKeyId`
|
PagedList |
getHookKeyWithPaginationInfo(String hookKeyId)
Retrieve a key
Retrieves a key by `hookKeyId`
|
JsonWebKey |
getPublicKey(String keyId)
Retrieve a public key
Retrieves a public key by `keyId`
|
PagedList |
getPublicKeyWithPaginationInfo(String keyId)
Retrieve a public key
Retrieves a public key by `keyId`
|
List<HookKey> |
listHookKeys()
List all keys
Lists all keys
|
PagedList |
listHookKeysWithPaginationInfo()
List all keys
Lists all keys
|
<T> T |
replaceHookKey(Class<?> T,
String hookKeyId,
KeyRequest keyRequest)
Replace a key
Replace a key by `hookKeyId`
|
HookKey |
replaceHookKey(String hookKeyId,
KeyRequest keyRequest)
Replace a key
Replace a key by `hookKeyId`
|
PagedList |
replaceHookKeyWithPaginationInfo(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(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(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(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(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(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(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 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(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(Class<?> T, 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(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–2023 Okta. All rights reserved.