Class SmsTemplate

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

  • Constructor Details

    • SmsTemplate

      public SmsTemplate()
  • Method Details

    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Get created
      Returns:
      created
    • getId

      @Nullable public String getId()
      Get id
      Returns:
      id
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      Get lastUpdated
      Returns:
      lastUpdated
    • name

      public SmsTemplate name(String name)
    • getName

      @Nullable public String getName()
      Human-readable name of the Template
      Returns:
      name
    • setName

      public void setName(String name)
    • template

      public SmsTemplate template(String template)
    • getTemplate

      @Nullable public String getTemplate()
      Text of the Template, including any [macros](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Template/)
      Returns:
      template
    • setTemplate

      public void setTemplate(String template)
    • translations

      public SmsTemplate translations(Object translations)
    • getTranslations

      @Nullable public Object getTranslations()
      - Template translations are optionally provided when you want to localize the SMS messages. Translations are provided as an object that contains `key:value` pairs: the language and the translated Template text. The key portion is a two-letter country code that conforms to [ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php). The value is the translated SMS Template. - Just like with regular SMS Templates, the length of the SMS message can't exceed 160 characters.
      Returns:
      translations
    • setTranslations

      public void setTranslations(Object translations)
    • type

      public SmsTemplate type(SmsTemplateType type)
    • getType

      @Nullable public SmsTemplateType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(SmsTemplateType type)
    • 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