Class OrgSettingContactApi

java.lang.Object
com.okta.sdk.resource.api.OrgSettingContactApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.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
    • 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()