Camel.FolderInfo¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| child | object | r/w | |
| display_name | str | r/w | |
| flags | Camel.FolderInfoFlags | r/w | |
| full_name | str | r/w | |
| next | object | r/w | |
| parent | object | r/w | |
| total | int | r/w | |
| unread | int | r/w | 
Details¶
- 
class Camel.FolderInfo¶
- 
classmethod build(folders, namespace_, separator, short_names)¶
- Parameters: - folders ([Camel.FolderInfo]) – an array ofCamel.FolderInfo
- namespace (str) – an ignorable prefix on the folder names
- separator (int) – the hieararchy separator character
- short_names (bool) –Trueif the (short) name of a folder is theCamel.partafter the last separator in the full name.Falseif it is the full name.
 - Returns: - the top level of the tree of linked folder info. - Return type: - This takes an array of folders and attaches them together according to the hierarchy described by their full_names and separator. If namespace_ is non- - None, then it will be ignored as a full_name prefix, for purposes of comparison. If necessary,- Camel.FolderInfo.build() will create additional- Camel.FolderInfowith- Noneurls to fill in gaps in the tree. The value of short_names is used in constructing the names of these intermediate folders.
- folders ([
 - 
classmethod new()¶
- Returns: - a new - Camel.FolderInfoinstance- Return type: - Camel.FolderInfo- Allocates a new - Camel.FolderInfoinstance. Free it with- Camel.FolderInfo.free().- New in version 2.22. 
 - 
clone()¶
- Returns: - the cloned - Camel.FolderInfotree.- Return type: - Camel.FolderInfo- Clones self recursively. 
 - 
free()¶
- Frees self. 
 
- 
classmethod