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-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class EmailCustomization extends Object implements Serializable
EmailCustomization
See Also:
  • Field Details

  • Constructor Details

    • EmailCustomization

      public EmailCustomization()
  • Method Details

    • body

      public EmailCustomization body(String body)
    • getBody

      @Nonnull public String 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

      public void setBody(String body)
    • subject

      public EmailCustomization subject(String subject)
    • getSubject

      @Nonnull public String 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

      public void setSubject(String subject)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      The UTC time at which this email customization was created.
      Returns:
      created
    • getId

      @Nullable public String getId()
      A unique identifier for this email customization
      Returns:
      id
    • isDefault

      public EmailCustomization isDefault(Boolean isDefault)
    • getIsDefault

      @Nullable public Boolean 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

      public void setIsDefault(Boolean isDefault)
    • language

      public EmailCustomization language(String language)
    • getLanguage

      @Nonnull public String getLanguage()
      The language specified as an [IETF BCP 47 language tag](https://datatracker.ietf.org/doc/html/rfc5646)
      Returns:
      language
    • setLanguage

      public void setLanguage(String language)
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      The UTC time at which this email customization was last updated.
      Returns:
      lastUpdated
    • links

    • getLinks

      Get links
      Returns:
      links
    • setLinks

      public void setLinks(EmailCustomizationAllOfLinks links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object