QEverCloud  4.1.0
Unofficial Evernote Cloud API for Qt
Public Types | List of all members
qevercloud::CanMoveToContainerStatus Struct Reference

#include <types.h>

Public Types

enum  type { CAN_BE_MOVED = 1, INSUFFICIENT_ENTITY_PRIVILEGE = 2, INSUFFICIENT_CONTAINER_PRIVILEGE = 3 }
 

Detailed Description

This enumeration defines the possible types of canMoveToContainer outcomes.

An outdated client is expected to signal a "Cannot Move, Please Upgrade To Learn Why" like response to the user if an unknown enumeration value is received.

CAN_BE_MOVED
Can move Notebook to Workspace.
INSUFFICIENT_ENTITY_PRIVILEGE
Can not move Notebook to Workspace, because either: a) Notebook not in Workspace and insufficient privilege on Notebook or b) Notebook in Workspace and membership on Workspace with insufficient privilege for move
INSUFFICIENT_CONTAINER_PRIVILEGE
Notebook in Workspace and no membership on Workspace.

Member Enumeration Documentation

◆ type

Enumerator
CAN_BE_MOVED 
INSUFFICIENT_ENTITY_PRIVILEGE 
INSUFFICIENT_CONTAINER_PRIVILEGE