@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class EmailServerApi extends Object
Constructor and Description |
---|
EmailServerApi() |
EmailServerApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
EmailServerResponse |
createEmailServer(EmailServerPost emailServerPost)
Create a custom SMTP server
Creates a custom email SMTP server configuration for your organization
|
EmailServerResponse |
createEmailServer(EmailServerPost emailServerPost,
Map<String,String> additionalHeaders)
Create a custom SMTP server
Creates a custom email SMTP server configuration for your organization
|
void |
deleteEmailServer(String emailServerId)
Delete an SMTP Server configuration
Deletes your organization's custom SMTP server with the given ID
|
void |
deleteEmailServer(String emailServerId,
Map<String,String> additionalHeaders)
Delete an SMTP Server configuration
Deletes your organization's custom SMTP server with the given ID
|
ApiClient |
getApiClient() |
EmailServerListResponse |
getEmailServer(String emailServerId)
Retrieve an SMTP Server configuration
Retrieves a configuration of your organization's custom SMTP server with the given ID
|
EmailServerListResponse |
getEmailServer(String emailServerId,
Map<String,String> additionalHeaders)
Retrieve an SMTP Server configuration
Retrieves a configuration of your organization's custom SMTP server with the given ID
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
EmailServerListResponse |
listEmailServers()
List all enrolled SMTP servers
Lists all the enrolled custom email SMTP servers
|
EmailServerListResponse |
listEmailServers(Map<String,String> additionalHeaders)
List all enrolled SMTP servers
Lists all the enrolled custom email SMTP servers
|
void |
setApiClient(ApiClient apiClient) |
void |
testEmailServer(String emailServerId,
EmailTestAddresses emailTestAddresses)
Test an SMTP Server configuration
Tests your organization's custom SMTP Server with the given ID
|
void |
testEmailServer(String emailServerId,
EmailTestAddresses emailTestAddresses,
Map<String,String> additionalHeaders)
Test an SMTP Server configuration
Tests your organization's custom SMTP Server with the given ID
|
EmailServerResponse |
updateEmailServer(String emailServerId,
EmailServerRequest emailServerRequest)
Update an SMTP Server configuration
Updates one or more fields of your organization's custom SMTP Server configuration
|
EmailServerResponse |
updateEmailServer(String emailServerId,
EmailServerRequest emailServerRequest,
Map<String,String> additionalHeaders)
Update an SMTP Server configuration
Updates one or more fields of your organization's custom SMTP Server configuration
|
public EmailServerApi()
public EmailServerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public EmailServerResponse createEmailServer(EmailServerPost emailServerPost) throws ApiException
emailServerPost
- (optional)ApiException
- if fails to make API callpublic EmailServerResponse createEmailServer(EmailServerPost emailServerPost, Map<String,String> additionalHeaders) throws ApiException
emailServerPost
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteEmailServer(String emailServerId) throws ApiException
emailServerId
- (required)ApiException
- if fails to make API callpublic void deleteEmailServer(String emailServerId, Map<String,String> additionalHeaders) throws ApiException
emailServerId
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailServerListResponse getEmailServer(String emailServerId) throws ApiException
emailServerId
- (required)ApiException
- if fails to make API callpublic EmailServerListResponse getEmailServer(String emailServerId, Map<String,String> additionalHeaders) throws ApiException
emailServerId
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailServerListResponse listEmailServers() throws ApiException
ApiException
- if fails to make API callpublic EmailServerListResponse listEmailServers(Map<String,String> additionalHeaders) throws ApiException
additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void testEmailServer(String emailServerId, EmailTestAddresses emailTestAddresses) throws ApiException
emailServerId
- (required)emailTestAddresses
- (optional)ApiException
- if fails to make API callpublic void testEmailServer(String emailServerId, EmailTestAddresses emailTestAddresses, Map<String,String> additionalHeaders) throws ApiException
emailServerId
- (required)emailTestAddresses
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailServerResponse updateEmailServer(String emailServerId, EmailServerRequest emailServerRequest) throws ApiException
emailServerId
- (required)emailServerRequest
- (optional)ApiException
- if fails to make API callpublic EmailServerResponse updateEmailServer(String emailServerId, EmailServerRequest emailServerRequest, Map<String,String> additionalHeaders) throws ApiException
emailServerId
- (required)emailServerRequest
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.