@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00") public interface EmailTemplate extends ExtensibleResource
Modifier and Type | Method and Description |
---|---|
EmailTemplateCustomization |
createEmailTemplateCustomization(String brandId,
String templateName,
EmailTemplateCustomizationRequest customization)
Create Email Template Customization
Create an email customization
|
void |
deleteEmailTemplateCustomization(String brandId,
String templateName,
String customizationId)
Delete Email Customization
Delete an email customization
|
void |
deleteEmailTemplateCustomizations(String brandId,
String templateName)
Delete Email Template Customization
Delete all customizations for an email template.
|
EmailTemplate |
getEmailTemplate(String brandId,
String templateName)
Get Email Template
Fetch an email template by templateName
|
EmailTemplateCustomization |
getEmailTemplateCustomization(String brandId,
String templateName,
String customizationId)
Get Email Template Customization
Fetch an email customization by id.
|
EmailTemplateContent |
getEmailTemplateCustomizationPreview(String brandId,
String templateName,
String customizationId)
Get Preview Content of Email Customization
Get a preview of an email template customization.
|
EmailTemplateContent |
getEmailTemplateDefaultContent(String brandId,
String templateName)
Get Default Content of Email Template
Fetch the default content for an email template.
|
EmailTemplateContent |
getEmailTemplateDefaultContentPreview(String brandId,
String templateName)
Get Preview of Email Template Default Content
Fetch a preview of an email template's default content by populating velocity references with the current user's environment.
|
Map<String,Object> |
getLinks() |
String |
getName() |
EmailTemplateCustomizationList |
listEmailTemplateCustomizations(String brandId,
String templateName)
List Email Template Customization
List all email customizations for an email template
|
void |
sendTestEmail(String brandId,
String templateName,
EmailTemplateTestRequest customization)
Get Preview of Email Template Default Content
Send a test email to the current users primary and secondary email addresses.
|
EmailTemplateCustomization |
updateEmailTemplateCustomization(String brandId,
String templateName,
String customizationId,
EmailTemplateCustomizationRequest customization)
Update Email Customization
Update an email customization
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
String getName()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}") void deleteEmailTemplateCustomization(String brandId, String templateName, String customizationId)
brandId
- (required)templateName
- (required)customizationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/brands/{brandId}/templates/email/{templateName}/test") void sendTestEmail(String brandId, String templateName, EmailTemplateTestRequest customization)
brandId
- (required)templateName
- (required)customization
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}") EmailTemplateCustomization getEmailTemplateCustomization(String brandId, String templateName, String customizationId)
brandId
- (required)templateName
- (required)customizationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview") EmailTemplateContent getEmailTemplateCustomizationPreview(String brandId, String templateName, String customizationId)
brandId
- (required)templateName
- (required)customizationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations") EmailTemplateCustomization createEmailTemplateCustomization(String brandId, String templateName, EmailTemplateCustomizationRequest customization)
brandId
- (required)templateName
- (required)customization
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview") EmailTemplateContent getEmailTemplateDefaultContentPreview(String brandId, String templateName)
brandId
- (required)templateName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations") void deleteEmailTemplateCustomizations(String brandId, String templateName)
brandId
- (required)templateName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations") EmailTemplateCustomizationList listEmailTemplateCustomizations(String brandId, String templateName)
brandId
- (required)templateName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}") EmailTemplateCustomization updateEmailTemplateCustomization(String brandId, String templateName, String customizationId, EmailTemplateCustomizationRequest customization)
brandId
- (required)templateName
- (required)customizationId
- (required)customization
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/default-content") EmailTemplateContent getEmailTemplateDefaultContent(String brandId, String templateName)
brandId
- (required)templateName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}") EmailTemplate getEmailTemplate(String brandId, String templateName)
brandId
- (required)templateName
- (required)Copyright © 2017–2023 Okta. All rights reserved.