Package com.okta.sdk.resource.model
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-23T16:19:57.008753975Z[Etc/UTC]",
           comments="Generator version: 7.8.0")
public class SmsTemplate
extends Object
implements Serializable
SmsTemplate
- See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanGet createdgetId()Get idGet lastUpdatedgetName()Human-readable name of the TemplateText of the Template, including any [macros](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Template/)- Template translations are optionally provided when you want to localize the SMS messages.getType()Get typeinthashCode()voidvoidsetTemplate(String template) voidsetTranslations(Object translations) voidsetType(SmsTemplateType type) toString()translations(Object translations) type(SmsTemplateType type)  
- 
Field Details
- 
JSON_PROPERTY_CREATED
- See Also:
 
 - 
JSON_PROPERTY_ID
- See Also:
 
 - 
JSON_PROPERTY_LAST_UPDATED
- See Also:
 
 - 
JSON_PROPERTY_NAME
- See Also:
 
 - 
JSON_PROPERTY_TEMPLATE
- See Also:
 
 - 
JSON_PROPERTY_TRANSLATIONS
- See Also:
 
 - 
JSON_PROPERTY_TYPE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
SmsTemplate
public SmsTemplate() 
 - 
 - 
Method Details
- 
getCreated
Get created- Returns:
 - created
 
 - 
getId
Get id- Returns:
 - id
 
 - 
getLastUpdated
Get lastUpdated- Returns:
 - lastUpdated
 
 - 
name
 - 
getName
Human-readable name of the Template- Returns:
 - name
 
 - 
setName
 - 
template
 - 
getTemplate
Text of the Template, including any [macros](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Template/)- Returns:
 - template
 
 - 
setTemplate
 - 
translations
 - 
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
 - 
type
 - 
getType
Get type- Returns:
 - type
 
 - 
setType
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -