QEverCloud
Unofficial Evernote Cloud API for Qt
|
A structure that wraps a map of name/value pairs whose values are not always present in the structure in order to reduce space when obtaining batches of entities that contain the map. More...
Public Member Functions | |
bool | operator!= (const LazyMap &other) const |
bool | operator== (const LazyMap &other) const |
Public Attributes | |
Optional< QMap< QString, QString > > | fullMap |
The complete map, including all keys and values. | |
Optional< QSet< QString > > | keysOnly |
The set of keys for the map. More... | |
A structure that wraps a map of name/value pairs whose values are not always present in the structure in order to reduce space when obtaining batches of entities that contain the map.
When the server provides the client with a LazyMap, it will fill in either the keysOnly field or the fullMap field, but never both, based on the API and parameters.
When a client provides a LazyMap to the server as part of an update to an object, the server will only update the LazyMap if the fullMap field is set. If the fullMap field is not set, the server will not make any changes to the map.
Check the API documentation of the individual calls involving the LazyMap for full details including the constraints of the names and values of the map.
Optional< QSet< QString > > qevercloud::LazyMap::keysOnly |
The set of keys for the map.
This field is ignored by the server when set.