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 Details

    • OrgSettingContactApi

      public OrgSettingContactApi()
    • OrgSettingContactApi

      public OrgSettingContactApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getOrgContactUser

      public OrgContactUser getOrgContactUser(String contactType) throws ApiException
      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 ApiException
      Retrieve 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

      public List<OrgContactTypeObj> listOrgContactTypes() throws ApiException
      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 ApiException
      List 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

      public Iterable<OrgContactTypeObj> 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

      public Iterable<OrgContactTypeObj> 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. 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 ApiException
      Replace 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()