@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.TemplateApi")
public class TemplateApi
extends java.lang.Object
Constructor and Description |
---|
TemplateApi() |
TemplateApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
createSmsTemplate(java.lang.Class<?> T,
SmsTemplate smsTemplate)
Create an SMS Template
Creates a new custom SMS template
|
SmsTemplate |
createSmsTemplate(SmsTemplate smsTemplate)
Create an SMS Template
Creates a new custom SMS template
|
PagedList |
createSmsTemplateWithPaginationInfo(SmsTemplate smsTemplate)
Create an SMS Template
Creates a new custom SMS template
|
void |
deleteSmsTemplate(java.lang.String templateId)
Delete an SMS Template
Deletes an SMS template
|
ApiClient |
getApiClient() |
SmsTemplate |
getSmsTemplate(java.lang.String templateId)
Retrieve an SMS Template
Retrieves a specific template by `id`
|
PagedList |
getSmsTemplateWithPaginationInfo(java.lang.String templateId)
Retrieve an SMS Template
Retrieves a specific template by `id`
|
java.util.List<SmsTemplate> |
listSmsTemplates(SmsTemplateType templateType)
List all SMS Templates
Lists all custom SMS templates.
|
PagedList |
listSmsTemplatesWithPaginationInfo(SmsTemplateType templateType)
List all SMS Templates
Lists all custom SMS templates.
|
<T> T |
replaceSmsTemplate(java.lang.Class<?> T,
java.lang.String templateId,
SmsTemplate smsTemplate)
Replace an SMS Template
Replaces the SMS template
|
SmsTemplate |
replaceSmsTemplate(java.lang.String templateId,
SmsTemplate smsTemplate)
Replace an SMS Template
Replaces the SMS template
|
PagedList |
replaceSmsTemplateWithPaginationInfo(java.lang.String templateId,
SmsTemplate smsTemplate)
Replace an SMS Template
Replaces the SMS template
|
void |
setApiClient(ApiClient apiClient) |
<T> T |
updateSmsTemplate(java.lang.Class<?> T,
java.lang.String templateId,
SmsTemplate smsTemplate)
Update an SMS Template
Updates an SMS template
|
SmsTemplate |
updateSmsTemplate(java.lang.String templateId,
SmsTemplate smsTemplate)
Update an SMS Template
Updates an SMS template
|
PagedList |
updateSmsTemplateWithPaginationInfo(java.lang.String templateId,
SmsTemplate smsTemplate)
Update an SMS Template
Updates an SMS template
|
public TemplateApi()
@Autowired public TemplateApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public SmsTemplate createSmsTemplate(SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T createSmsTemplate(java.lang.Class<?> T, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
T
- (required) - the assignable return typesmsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList createSmsTemplateWithPaginationInfo(SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deleteSmsTemplate(java.lang.String templateId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic SmsTemplate getSmsTemplate(java.lang.String templateId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getSmsTemplateWithPaginationInfo(java.lang.String templateId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<SmsTemplate> listSmsTemplates(SmsTemplateType templateType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
templateType
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listSmsTemplatesWithPaginationInfo(SmsTemplateType templateType) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
templateType
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic SmsTemplate replaceSmsTemplate(java.lang.String templateId, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T replaceSmsTemplate(java.lang.Class<?> T, java.lang.String templateId, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typetemplateId
- (required)smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList replaceSmsTemplateWithPaginationInfo(java.lang.String templateId, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic SmsTemplate updateSmsTemplate(java.lang.String templateId, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T updateSmsTemplate(java.lang.Class<?> T, java.lang.String templateId, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typetemplateId
- (required)smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList updateSmsTemplateWithPaginationInfo(java.lang.String templateId, SmsTemplate smsTemplate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
templateId
- (required)smsTemplate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.