Skip to content

Add folder operations#96

Merged
bkircher merged 10 commits intootris:masterfrom
SebastianBecker2:folder-op
Jan 14, 2018
Merged

Add folder operations#96
bkircher merged 10 commits intootris:masterfrom
SebastianBecker2:folder-op

Conversation

@SebastianBecker2
Copy link
Copy Markdown
Contributor

I implemented the create_folder, delete_folder, find_folder and get_folder operations. It should have the same convention as the item operations.
There are still some operations missing, like CreateManagedFolder, CopyFolder, MoveFolder, EmptyFolder, UpdateFolder.

The new find_folder(const folder_id&) function allows querying
of subfolders in a specific folder.
This includes find_folder_response_message to parse the response.
The find_folder(const folder_id&) function returned item_id
instead of the appropriate folder_id type.
The new folder class represents the details of a folder
Implemented get_folders(...) functions that query a bulk of folders.
@bkircher bkircher merged commit 3c73f3d into otris:master Jan 14, 2018
@bkircher
Copy link
Copy Markdown
Contributor

Merged. Thanks!

All examples run fine with address sanitizer enabled. I renamed folder::get_item_id() to folder::get_folder_id(). Hope you don't mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants