Package cz.quanti.mailq.resources.v2
Class SmsNewsletterResource
- java.lang.Object
-
- cz.quanti.mailq.resources.v2.BaseResource
-
- cz.quanti.mailq.resources.v2.SmsNewsletterResource
-
public class SmsNewsletterResource extends BaseResource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmsNewsletterEntitycreateNewsletter(SmsNewsletterEntity newsletter)voiddeleteNewsletter(Long newsletterId)SmsNewsletterEntitygetNewsletter(Long newsletterId)SmsNewslettersEntitygetNewsletters(Pagination pagination)voidsendTestSms(Long newsletterId, String number)voidstartNewsletter(Long newsletterId)voidstopNewsletter(Long newsletterId)voidupdateNewsletter(SmsNewsletterEntity newsletter)-
Methods inherited from class cz.quanti.mailq.resources.v2.BaseResource
getConnector
-
-
-
-
Method Detail
-
getNewsletters
public SmsNewslettersEntity getNewsletters(Pagination pagination) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
createNewsletter
public SmsNewsletterEntity createNewsletter(SmsNewsletterEntity newsletter) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
getNewsletter
public SmsNewsletterEntity getNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
updateNewsletter
public void updateNewsletter(SmsNewsletterEntity newsletter) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
deleteNewsletter
public void deleteNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
startNewsletter
public void startNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
stopNewsletter
public void stopNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
sendTestSms
public void sendTestSms(Long newsletterId, String number) throws ApiException, InvalidRequestException
- Throws:
ApiExceptionInvalidRequestException
-
-