@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultSmsTemplate extends AbstractInstanceResource<SmsTemplate> implements SmsTemplate
properties
readLock, writeLock
Constructor and Description |
---|
DefaultSmsTemplate(InternalDataStore dataStore) |
DefaultSmsTemplate(InternalDataStore dataStore,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Remove SMS Template
Removes an SMS template.
|
Date |
getCreated() |
String |
getId() |
Date |
getLastUpdated() |
String |
getName() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
String |
getTemplate() |
SmsTemplateTranslations |
getTranslations() |
SmsTemplateType |
getType() |
SmsTemplate |
partialUpdate()
Partial SMS Template Update
Updates only some of the SMS template properties:
|
SmsTemplate |
setName(String name) |
SmsTemplate |
setTemplate(String template) |
SmsTemplate |
setTranslations(SmsTemplateTranslations translations) |
SmsTemplate |
setType(SmsTemplateType type) |
SmsTemplate |
update()
Update SMS Template
Updates the SMS template.
|
save
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public DefaultSmsTemplate(InternalDataStore dataStore)
public DefaultSmsTemplate(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, in this case this method may return Foo.class
.
(Defaults to getClass()
.)getResourceClass
in class AbstractInstanceResource<SmsTemplate>
public Date getCreated()
getCreated
in interface SmsTemplate
public String getId()
getId
in interface SmsTemplate
public Date getLastUpdated()
getLastUpdated
in interface SmsTemplate
public String getName()
getName
in interface SmsTemplate
public SmsTemplate setName(String name)
setName
in interface SmsTemplate
public String getTemplate()
getTemplate
in interface SmsTemplate
public SmsTemplate setTemplate(String template)
setTemplate
in interface SmsTemplate
public SmsTemplateTranslations getTranslations()
getTranslations
in interface SmsTemplate
public SmsTemplate setTranslations(SmsTemplateTranslations translations)
setTranslations
in interface SmsTemplate
public SmsTemplateType getType()
getType
in interface SmsTemplate
public SmsTemplate setType(SmsTemplateType type)
setType
in interface SmsTemplate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/templates/sms/{templateId}") public SmsTemplate partialUpdate()
partialUpdate
in interface SmsTemplate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/templates/sms/{templateId}") public void delete()
delete
in interface Deletable
delete
in interface SmsTemplate
delete
in class AbstractInstanceResource<SmsTemplate>
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/templates/sms/{templateId}") public SmsTemplate update()
update
in interface SmsTemplate
Copyright © 2017–2023 Okta. All rights reserved.