Camel.FolderInfo¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
child |
r/w |
||
display_name |
r/w |
||
flags |
r/w |
||
full_name |
r/w |
||
next |
r/w |
||
parent |
r/w |
||
total |
r/w |
||
unread |
r/w |
Methods¶
class |
|
class |
|
|
|
|
Details¶
- class Camel.FolderInfo¶
- classmethod build(folders, namespace_, separator, short_names)¶
- Parameters:
folders ([
Camel.FolderInfo]) – an array ofCamel.FolderInfonamespace (
str) – an ignorable prefix on the folder namesseparator (
int) – the hieararchy separator charactershort_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 additionalCamel.FolderInfowithNoneurls to fill in gaps in the tree. The value of short_names is used in constructing the names of these intermediate folders.
- classmethod new()¶
- Returns:
a new
Camel.FolderInfoinstance- Return type:
Allocates a new
Camel.FolderInfoinstance. Free it withCamel.FolderInfo.free().New in version 2.22.
- clone()¶
- Returns:
the cloned
Camel.FolderInfotree.- Return type:
Clones self recursively.
- free()¶
Frees self.