public class ListsService extends Object
| Constructor and Description |
|---|
ListsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
bulkSubscribeRecipientToList(String listId,
ListBulkSubscriptionUpdate bulkSubscriptionUpdate) |
void |
deleteList(String listId) |
List |
getList(String listId) |
PureLists |
getLists(String cursor,
String pattern) |
ListSubscriptions |
getListSubscriptions(String listId,
String cursor) |
void |
putList(String listId,
ListUpdateBody listUpdateBody) |
void |
restoreList(String listId) |
void |
subscribeRecipientToList(String listId,
String recipientId) |
void |
unsubscribeRecipientFromList(String listId,
String recipientId) |
public PureLists getLists(String cursor, String pattern) throws IOException
IOExceptionpublic List getList(String listId) throws IOException
IOExceptionpublic void putList(String listId, ListUpdateBody listUpdateBody) throws IOException
IOExceptionpublic void deleteList(String listId) throws IOException
IOExceptionpublic void restoreList(String listId) throws IOException
IOExceptionpublic ListSubscriptions getListSubscriptions(String listId, String cursor) throws IOException
IOExceptionpublic void bulkSubscribeRecipientToList(String listId, ListBulkSubscriptionUpdate bulkSubscriptionUpdate) throws IOException
IOExceptionpublic void subscribeRecipientToList(String listId, String recipientId) throws IOException
IOExceptionpublic void unsubscribeRecipientFromList(String listId, String recipientId) throws IOException
IOExceptionCopyright © 2022. All rights reserved.