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="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class OrgSettingContactApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMappergetOrgContactUser(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 orgList all org contact types (Paginated) Lists all org contact types for your Okta org This method returns a lazy, paginated iterable that automatically handles pagination.listOrgContactTypesPaged(Map<String, String> additionalHeaders) List all org contact types (Paginated with additional headers) Lists all org contact types for your Okta org This method returns a lazy, paginated iterable that automatically handles pagination.replaceOrgContactUser(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 typevoidsetApiClient(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
-
listOrgContactTypesPaged
List all org contact types (Paginated) Lists all org contact types for your Okta org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- Returns:
- Iterable<OrgContactTypeObj> lazy iterable over all pages
-
listOrgContactTypesPaged
List all org contact types (Paginated with additional headers) Lists all org contact types for your Okta org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- Parameters:
additionalHeaders- additional headers for this call- Returns:
- Iterable<OrgContactTypeObj> lazy iterable over all pages
-
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()
-