Package com.okta.sdk.resource.api
Class EmailDomainApi
java.lang.Object
com.okta.sdk.resource.api.EmailDomainApi
@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 EmailDomainApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEmailDomain
(EmailDomain emailDomain, List<String> expand) Create an Email Domain Creates an Email Domain in your orgcreateEmailDomain
(EmailDomain emailDomain, List<String> expand, Map<String, String> additionalHeaders) Create an Email Domain Creates an Email Domain in your orgvoid
deleteEmailDomain
(String emailDomainId, List<String> expand) Delete an Email Domain Deletes an Email Domain by `emailDomainId`void
Delete an Email Domain Deletes an Email Domain by `emailDomainId`getEmailDomain
(String emailDomainId, List<String> expand) Retrieve an Email Domain Retrieves an Email Domain by `emailDomainId`Retrieve an Email Domain Retrieves an Email Domain by `emailDomainId`protected static com.fasterxml.jackson.databind.ObjectMapper
listEmailDomains
(List<String> expand) List all Email Domains Lists all the Email Domains in your orgList all Email Domains Lists all the Email Domains in your orgreplaceEmailDomain
(String emailDomainId, UpdateEmailDomain updateEmailDomain, List<String> expand) Replace an Email Domain Replaces associated username and sender display name by `emailDomainId`replaceEmailDomain
(String emailDomainId, UpdateEmailDomain updateEmailDomain, List<String> expand, Map<String, String> additionalHeaders) Replace an Email Domain Replaces associated username and sender display name by `emailDomainId`void
setApiClient
(ApiClient apiClient) verifyEmailDomain
(String emailDomainId) Verify an Email Domain Verifies an Email Domain by `emailDomainId`verifyEmailDomain
(String emailDomainId, Map<String, String> additionalHeaders) Verify an Email Domain Verifies an Email Domain by `emailDomainId`
-
Constructor Details
-
EmailDomainApi
public EmailDomainApi() -
EmailDomainApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createEmailDomain
public EmailDomainResponse createEmailDomain(EmailDomain emailDomain, List<String> expand) throws ApiException Create an Email Domain Creates an Email Domain in your org- Parameters:
emailDomain
- (required)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- EmailDomainResponse
- Throws:
ApiException
- if fails to make API call
-
createEmailDomain
public EmailDomainResponse createEmailDomain(EmailDomain emailDomain, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Email Domain Creates an Email Domain in your org- Parameters:
emailDomain
- (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- EmailDomainResponse
- Throws:
ApiException
- if fails to make API call
-
deleteEmailDomain
Delete an Email Domain Deletes an Email Domain by `emailDomainId`- Parameters:
emailDomainId
- (required)expand
- Specifies additional metadata to be included in the response (optional- Throws:
ApiException
- if fails to make API call
-
deleteEmailDomain
public void deleteEmailDomain(String emailDomainId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Email Domain Deletes an Email Domain by `emailDomainId`- Parameters:
emailDomainId
- (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getEmailDomain
public EmailDomainResponseWithEmbedded getEmailDomain(String emailDomainId, List<String> expand) throws ApiException Retrieve an Email Domain Retrieves an Email Domain by `emailDomainId`- Parameters:
emailDomainId
- (required)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- EmailDomainResponseWithEmbedded
- Throws:
ApiException
- if fails to make API call
-
getEmailDomain
public EmailDomainResponseWithEmbedded getEmailDomain(String emailDomainId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Email Domain Retrieves an Email Domain by `emailDomainId`- Parameters:
emailDomainId
- (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- EmailDomainResponseWithEmbedded
- Throws:
ApiException
- if fails to make API call
-
listEmailDomains
public List<EmailDomainResponseWithEmbedded> listEmailDomains(List<String> expand) throws ApiException List all Email Domains Lists all the Email Domains in your org- Parameters:
expand
- Specifies additional metadata to be included in the response (optional- Returns:
- List<EmailDomainResponseWithEmbedded>
- Throws:
ApiException
- if fails to make API call
-
listEmailDomains
public List<EmailDomainResponseWithEmbedded> listEmailDomains(List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionList all Email Domains Lists all the Email Domains in your org- Parameters:
expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- List<EmailDomainResponseWithEmbedded>
- Throws:
ApiException
- if fails to make API call
-
replaceEmailDomain
public EmailDomainResponse replaceEmailDomain(String emailDomainId, UpdateEmailDomain updateEmailDomain, List<String> expand) throws ApiException Replace an Email Domain Replaces associated username and sender display name by `emailDomainId`- Parameters:
emailDomainId
- (required)updateEmailDomain
- (required)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- EmailDomainResponse
- Throws:
ApiException
- if fails to make API call
-
replaceEmailDomain
public EmailDomainResponse replaceEmailDomain(String emailDomainId, UpdateEmailDomain updateEmailDomain, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Email Domain Replaces associated username and sender display name by `emailDomainId`- Parameters:
emailDomainId
- (required)updateEmailDomain
- (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- EmailDomainResponse
- Throws:
ApiException
- if fails to make API call
-
verifyEmailDomain
Verify an Email Domain Verifies an Email Domain by `emailDomainId`- Parameters:
emailDomainId
- (required)- Returns:
- EmailDomainResponse
- Throws:
ApiException
- if fails to make API call
-
verifyEmailDomain
public EmailDomainResponse verifyEmailDomain(String emailDomainId, Map<String, String> additionalHeaders) throws ApiExceptionVerify an Email Domain Verifies an Email Domain by `emailDomainId`- Parameters:
emailDomainId
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailDomainResponse
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-