Package com.okta.sdk.resource.api
Class OrgSettingCommunicationApi
java.lang.Object
com.okta.sdk.resource.api.OrgSettingCommunicationApi
@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 OrgSettingCommunicationApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
Retrieve the Okta Communication Settings Retrieves Okta Communication Settings of your orggetOktaCommunicationSettings
(Map<String, String> additionalHeaders) Retrieve the Okta Communication Settings Retrieves Okta Communication Settings of your orgOpt in to Okta User Communication Emails Opts in all users of this org to Okta communication emailsoptInUsersToOktaCommunicationEmails
(Map<String, String> additionalHeaders) Opt in to Okta User Communication Emails Opts in all users of this org to Okta communication emailsOpt out of Okta User Communication Emails Opts out all users of this org from Okta communication emailsoptOutUsersFromOktaCommunicationEmails
(Map<String, String> additionalHeaders) Opt out of Okta User Communication Emails Opts out all users of this org from Okta communication emailsvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
OrgSettingCommunicationApi
public OrgSettingCommunicationApi() -
OrgSettingCommunicationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getOktaCommunicationSettings
Retrieve the Okta Communication Settings Retrieves Okta Communication Settings of your org- Returns:
- OrgOktaCommunicationSetting
- Throws:
ApiException
- if fails to make API call
-
getOktaCommunicationSettings
public OrgOktaCommunicationSetting getOktaCommunicationSettings(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Okta Communication Settings Retrieves Okta Communication Settings of your org- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- OrgOktaCommunicationSetting
- Throws:
ApiException
- if fails to make API call
-
optInUsersToOktaCommunicationEmails
Opt in to Okta User Communication Emails Opts in all users of this org to Okta communication emails- Returns:
- OrgOktaCommunicationSetting
- Throws:
ApiException
- if fails to make API call
-
optInUsersToOktaCommunicationEmails
public OrgOktaCommunicationSetting optInUsersToOktaCommunicationEmails(Map<String, String> additionalHeaders) throws ApiExceptionOpt in to Okta User Communication Emails Opts in all users of this org to Okta communication emails- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- OrgOktaCommunicationSetting
- Throws:
ApiException
- if fails to make API call
-
optOutUsersFromOktaCommunicationEmails
Opt out of Okta User Communication Emails Opts out all users of this org from Okta communication emails- Returns:
- OrgOktaCommunicationSetting
- Throws:
ApiException
- if fails to make API call
-
optOutUsersFromOktaCommunicationEmails
public OrgOktaCommunicationSetting optOutUsersFromOktaCommunicationEmails(Map<String, String> additionalHeaders) throws ApiExceptionOpt out of Okta User Communication Emails Opts out all users of this org from Okta communication emails- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- OrgOktaCommunicationSetting
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-