@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00") public class DefaultEmailTemplate extends AbstractInstanceResource<EmailTemplate> implements EmailTemplate
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultEmailTemplate(InternalDataStore dataStore) |
DefaultEmailTemplate(InternalDataStore dataStore,
Map<String,Object> properties) |
| 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() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
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
|
delete, saveclear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DefaultEmailTemplate(InternalDataStore dataStore)
public DefaultEmailTemplate(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<EmailTemplate>public Map<String,Object> getLinks()
getLinks in interface EmailTemplatepublic String getName()
getName in interface EmailTemplate@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}") public void deleteEmailTemplateCustomization(String brandId, String templateName, String customizationId)
deleteEmailTemplateCustomization in interface EmailTemplatebrandId - (required)templateName - (required)customizationId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/brands/{brandId}/templates/email/{templateName}/test") public void sendTestEmail(String brandId, String templateName, EmailTemplateTestRequest customization)
sendTestEmail in interface EmailTemplatebrandId - (required)templateName - (required)customization - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}") public EmailTemplateCustomization getEmailTemplateCustomization(String brandId, String templateName, String customizationId)
getEmailTemplateCustomization in interface EmailTemplatebrandId - (required)templateName - (required)customizationId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview") public EmailTemplateContent getEmailTemplateCustomizationPreview(String brandId, String templateName, String customizationId)
getEmailTemplateCustomizationPreview in interface EmailTemplatebrandId - (required)templateName - (required)customizationId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations") public EmailTemplateCustomization createEmailTemplateCustomization(String brandId, String templateName, EmailTemplateCustomizationRequest customization)
createEmailTemplateCustomization in interface EmailTemplatebrandId - (required)templateName - (required)customization - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview") public EmailTemplateContent getEmailTemplateDefaultContentPreview(String brandId, String templateName)
getEmailTemplateDefaultContentPreview in interface EmailTemplatebrandId - (required)templateName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations") public void deleteEmailTemplateCustomizations(String brandId, String templateName)
deleteEmailTemplateCustomizations in interface EmailTemplatebrandId - (required)templateName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations") public EmailTemplateCustomizationList listEmailTemplateCustomizations(String brandId, String templateName)
listEmailTemplateCustomizations in interface EmailTemplatebrandId - (required)templateName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}") public EmailTemplateCustomization updateEmailTemplateCustomization(String brandId, String templateName, String customizationId, EmailTemplateCustomizationRequest customization)
updateEmailTemplateCustomization in interface EmailTemplatebrandId - (required)templateName - (required)customizationId - (required)customization - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}/default-content") public EmailTemplateContent getEmailTemplateDefaultContent(String brandId, String templateName)
getEmailTemplateDefaultContent in interface EmailTemplatebrandId - (required)templateName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/brands/{brandId}/templates/email/{templateName}") public EmailTemplate getEmailTemplate(String brandId, String templateName)
getEmailTemplate in interface EmailTemplatebrandId - (required)templateName - (required)Copyright © 2017–2023 Okta. All rights reserved.