Package com.okta.sdk.resource.api
Class OrgSettingContactApi
java.lang.Object
com.okta.sdk.resource.api.OrgSettingContactApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class OrgSettingContactApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
getOrgContactUser
(String contactType) Retrieve the Contact Type User Retrieves the ID and the User resource associated with the specified Contact TypegetOrgContactUser
(String contactType, Map<String, String> additionalHeaders) Retrieve the Contact Type User Retrieves the ID and the User resource associated with the specified Contact TypeList all Org Contact Types Lists all Org Contact Types for your Okta orglistOrgContactTypes
(Map<String, String> additionalHeaders) List all Org Contact Types Lists all Org Contact Types for your Okta orgreplaceOrgContactUser
(String contactType, OrgContactUser orgContactUser) Replace the Contact Type User Replaces the User associated with the specified Contact TypereplaceOrgContactUser
(String contactType, OrgContactUser orgContactUser, Map<String, String> additionalHeaders) Replace the Contact Type User Replaces the User associated with the specified Contact Typevoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
OrgSettingContactApi
public OrgSettingContactApi() -
OrgSettingContactApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getOrgContactUser
Retrieve the Contact Type User Retrieves the ID and the User resource associated with the specified Contact Type- Parameters:
contactType
- (required)- Returns:
- OrgContactUser
- Throws:
ApiException
- if fails to make API call
-
getOrgContactUser
public OrgContactUser getOrgContactUser(String contactType, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Contact Type User Retrieves the ID and the User resource associated with the specified Contact Type- Parameters:
contactType
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OrgContactUser
- Throws:
ApiException
- if fails to make API call
-
listOrgContactTypes
List all Org Contact Types Lists all Org Contact Types for your Okta org- Returns:
- List<OrgContactTypeObj>
- Throws:
ApiException
- if fails to make API call
-
listOrgContactTypes
public List<OrgContactTypeObj> listOrgContactTypes(Map<String, String> additionalHeaders) throws ApiExceptionList all Org Contact Types Lists all Org Contact Types for your Okta org- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<OrgContactTypeObj>
- Throws:
ApiException
- if fails to make API call
-
replaceOrgContactUser
public OrgContactUser replaceOrgContactUser(String contactType, OrgContactUser orgContactUser) throws ApiException Replace the Contact Type User Replaces the User associated with the specified Contact Type- Parameters:
contactType
- (required)orgContactUser
- (required)- Returns:
- OrgContactUser
- Throws:
ApiException
- if fails to make API call
-
replaceOrgContactUser
public OrgContactUser replaceOrgContactUser(String contactType, OrgContactUser orgContactUser, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Contact Type User Replaces the User associated with the specified Contact Type- Parameters:
contactType
- (required)orgContactUser
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OrgContactUser
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-