UNPKG

@asposecloud/aspose-email-cloud

Version:
51 lines (50 loc) 2.28 kB
/** * Request model for ClientThreadApi.getList operation. */ export declare class ClientThreadGetListRequest { /** * A folder in email account. */ folder: string; /** * Email account */ account: string; /** * Storage name where account file located */ storage: string; /** * Folder in storage where account file located */ accountStorageFolder: string; /** * This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account */ updateFolderCache: boolean; /** * Limit messages cache size if CacheFile is used. Ignored in accounts without limits support */ messagesCacheLimit: number; /** * Request model for clientThreadGetList operation. * @param folder A folder in email account. * @param account Email account * @param storage Storage name where account file located * @param accountStorageFolder Folder in storage where account file located * @param updateFolderCache This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account * @param messagesCacheLimit Limit messages cache size if CacheFile is used. Ignored in accounts without limits support */ constructor(folder?: string, account?: string, storage?: string, accountStorageFolder?: string, updateFolderCache?: boolean, messagesCacheLimit?: number); } export declare class ClientThreadGetListRequestBuilder { private model; constructor(model: ClientThreadGetListRequest); build(): ClientThreadGetListRequest; folder(folder: string): ClientThreadGetListRequestBuilder; account(account: string): ClientThreadGetListRequestBuilder; storage(storage: string): ClientThreadGetListRequestBuilder; accountStorageFolder(accountStorageFolder: string): ClientThreadGetListRequestBuilder; updateFolderCache(updateFolderCache: boolean): ClientThreadGetListRequestBuilder; messagesCacheLimit(messagesCacheLimit: number): ClientThreadGetListRequestBuilder; }