Package com.okta.sdk.resource.model
Class EmailCustomization
java.lang.Object
com.okta.sdk.resource.model.EmailCustomization
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class EmailCustomization
extends Object
implements Serializable
EmailCustomization
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBody()
The HTML body of the email.The UTC time at which this email customization was created.getId()
A unique identifier for this email customizationWhether this is the default customization for the email template.The language specified as an [IETF BCP 47 language tag](https://datatracker.ietf.org/doc/html/rfc5646)The UTC time at which this email customization was last updated.getLinks()
Get linksThe email subject.int
hashCode()
void
void
setIsDefault
(Boolean isDefault) void
setLanguage
(String language) void
void
setSubject
(String subject) toString()
-
Field Details
-
JSON_PROPERTY_BODY
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_DEFAULT
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
EmailCustomization
public EmailCustomization()
-
-
Method Details
-
body
-
getBody
The HTML body of the email. May contain [variable references](https://velocity.apache.org/engine/1.7/user-guide.html#references). <x-lifecycle class=\"ea\"></x-lifecycle> Not required if Custom languages for Okta Email Templates is enabled. A `null` body is replaced with a default value from one of the following in priority order: 1. An existing default email customization, if one exists 2. Okta-provided translated content for the specified language, if one exists 3. Okta-provided translated content for the brand locale, if it's set 4. Okta-provided content in English- Returns:
- body
-
setBody
-
subject
-
getSubject
The email subject. May contain [variable references](https://velocity.apache.org/engine/1.7/user-guide.html#references). <x-lifecycle class=\"ea\"></x-lifecycle> Not required if Custom languages for Okta Email Templates is enabled. A `null` subject is replaced with a default value from one of the following in priority order: 1. An existing default email customization, if one exists 2. Okta-provided translated content for the specified language, if one exists 3. Okta-provided translated content for the brand locale, if it's set 4. Okta-provided content in English- Returns:
- subject
-
setSubject
-
getCreated
The UTC time at which this email customization was created.- Returns:
- created
-
getId
A unique identifier for this email customization- Returns:
- id
-
isDefault
-
getIsDefault
Whether this is the default customization for the email template. Each customized email template must have exactly one default customization. Defaults to `true` for the first customization and `false` thereafter.- Returns:
- isDefault
-
setIsDefault
-
language
-
getLanguage
The language specified as an [IETF BCP 47 language tag](https://datatracker.ietf.org/doc/html/rfc5646)- Returns:
- language
-
setLanguage
-
getLastUpdated
The UTC time at which this email customization was last updated.- Returns:
- lastUpdated
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-