Package com.okta.sdk.resource.api
Class LinkedObjectApi
java.lang.Object
com.okta.sdk.resource.api.LinkedObjectApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class LinkedObjectApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLinkedObjectDefinition
(LinkedObject linkedObject) Create a Linked Object Definition Creates a Linked Object definitioncreateLinkedObjectDefinition
(LinkedObject linkedObject, Map<String, String> additionalHeaders) Create a Linked Object Definition Creates a Linked Object definitionvoid
deleteLinkedObjectDefinition
(String linkedObjectName) Delete a Linked Object Definition Deletes the Linked Object definition specified by either the `primary` or `associated` name.void
deleteLinkedObjectDefinition
(String linkedObjectName, Map<String, String> additionalHeaders) Delete a Linked Object Definition Deletes the Linked Object definition specified by either the `primary` or `associated` name.getLinkedObjectDefinition
(String linkedObjectName) Retrieve a Linked Object Definition Retrieves a Linked Object definitiongetLinkedObjectDefinition
(String linkedObjectName, Map<String, String> additionalHeaders) Retrieve a Linked Object Definition Retrieves a Linked Object definitionprotected static com.fasterxml.jackson.databind.ObjectMapper
List all Linked Object Definitions Lists all Linked Object definitionslistLinkedObjectDefinitions
(Map<String, String> additionalHeaders) List all Linked Object Definitions Lists all Linked Object definitionsvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
LinkedObjectApi
public LinkedObjectApi() -
LinkedObjectApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createLinkedObjectDefinition
Create a Linked Object Definition Creates a Linked Object definition- Parameters:
linkedObject
- (required)- Returns:
- LinkedObject
- Throws:
ApiException
- if fails to make API call
-
createLinkedObjectDefinition
public LinkedObject createLinkedObjectDefinition(LinkedObject linkedObject, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Linked Object Definition Creates a Linked Object definition- Parameters:
linkedObject
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- LinkedObject
- Throws:
ApiException
- if fails to make API call
-
deleteLinkedObjectDefinition
Delete a Linked Object Definition Deletes the Linked Object definition specified by either the `primary` or `associated` name. The entire definition is removed, regardless of which name that you specify.- Parameters:
linkedObjectName
- Primary or Associated name (required)- Throws:
ApiException
- if fails to make API call
-
deleteLinkedObjectDefinition
public void deleteLinkedObjectDefinition(String linkedObjectName, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Linked Object Definition Deletes the Linked Object definition specified by either the `primary` or `associated` name. The entire definition is removed, regardless of which name that you specify.- Parameters:
linkedObjectName
- Primary or Associated name (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getLinkedObjectDefinition
Retrieve a Linked Object Definition Retrieves a Linked Object definition- Parameters:
linkedObjectName
- Primary or Associated name (required)- Returns:
- LinkedObject
- Throws:
ApiException
- if fails to make API call
-
getLinkedObjectDefinition
public LinkedObject getLinkedObjectDefinition(String linkedObjectName, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Linked Object Definition Retrieves a Linked Object definition- Parameters:
linkedObjectName
- Primary or Associated name (required)additionalHeaders
- additionalHeaders for this call- Returns:
- LinkedObject
- Throws:
ApiException
- if fails to make API call
-
listLinkedObjectDefinitions
List all Linked Object Definitions Lists all Linked Object definitions- Returns:
- List<LinkedObject>
- Throws:
ApiException
- if fails to make API call
-
listLinkedObjectDefinitions
public List<LinkedObject> listLinkedObjectDefinitions(Map<String, String> additionalHeaders) throws ApiExceptionList all Linked Object Definitions Lists all Linked Object definitions- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<LinkedObject>
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-