Package cz.quanti.mailq.resources.v2
Class SmsNotificationResource
- java.lang.Object
-
- cz.quanti.mailq.resources.v2.BaseResource
-
- cz.quanti.mailq.resources.v2.SmsNotificationResource
-
public class SmsNotificationResource extends BaseResource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmsNotificationEntitycreateNotification(SmsNotificationEntity notification)voiddeleteNotification(Long notificationId)SmsNotificationEntitygetNotification(Long notificationId)SmsNotificationDataEntitygetNotificationData(Long notificationId, String notificationDataId)SmsNotificationsEntitygetNotifications(Pagination pagination)SmsBatchResultEntitysendSmsBatchNotification(Long notificationId, SmsNotificationBatchEntity notificationBatch)SmsNotificationDataEntitysendSmsNotification(Long notificationId, SmsNotificationDataEntity notification)voidupdateNotification(SmsNotificationEntity notification)-
Methods inherited from class cz.quanti.mailq.resources.v2.BaseResource
getConnector
-
-
-
-
Method Detail
-
getNotifications
public SmsNotificationsEntity getNotifications(Pagination pagination) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
createNotification
public SmsNotificationEntity createNotification(SmsNotificationEntity notification) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
getNotification
public SmsNotificationEntity getNotification(Long notificationId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
updateNotification
public void updateNotification(SmsNotificationEntity notification) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
deleteNotification
public void deleteNotification(Long notificationId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
sendSmsNotification
public SmsNotificationDataEntity sendSmsNotification(Long notificationId, SmsNotificationDataEntity notification) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
sendSmsBatchNotification
public SmsBatchResultEntity sendSmsBatchNotification(Long notificationId, SmsNotificationBatchEntity notificationBatch) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
getNotificationData
public SmsNotificationDataEntity getNotificationData(Long notificationId, String notificationDataId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
-