Class EmailDefaultContent

java.lang.Object
com.okta.sdk.resource.model.EmailDefaultContent
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 EmailDefaultContent extends Object implements Serializable
EmailDefaultContent
See Also:
  • Field Details

  • Constructor Details

    • EmailDefaultContent

      public EmailDefaultContent()
  • Method Details

    • body

      public EmailDefaultContent 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 EmailDefaultContent 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)
    • links

      public EmailDefaultContent links(Object links)
    • getLinks

      @Nullable public Object getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(Object 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