public class ClientThreadApi extends Object
Modifier and Type | Method and Description |
---|---|
void |
delete(ClientThreadDeleteRequest request)
Delete thread by id.
|
EmailThreadList |
getList(ClientThreadGetListRequest request)
Get message threads from folder.
|
EmailList |
getMessages(ClientThreadGetMessagesRequest request)
Get messages from thread by id.
|
void |
move(ClientThreadMoveRequest request)
Move thread to another folder.
|
void |
setIsRead(ClientThreadSetIsReadRequest request)
Mark all messages in thread as read or unread.
|
public void delete(ClientThreadDeleteRequest request) throws ApiException
request
- Delete email thread request.ApiException
- API error.public EmailThreadList getList(ClientThreadGetListRequest request) throws ApiException
request
- Holds parameters for this request invocation.ApiException
- API error.public EmailList getMessages(ClientThreadGetMessagesRequest request) throws ApiException
request
- Holds parameters for this request invocation.ApiException
- API error.public void move(ClientThreadMoveRequest request) throws ApiException
request
- Move thread request.ApiException
- API error.public void setIsRead(ClientThreadSetIsReadRequest request) throws ApiException
request
- Email account specifier and IsRead flag.ApiException
- API error.Copyright © 2020. All rights reserved.