QEverCloud 6.1.0
Unofficial Evernote Cloud API for Qt
Loading...
Searching...
No Matches
EDAMErrorCode.h
Go to the documentation of this file.
1
12#ifndef QEVERCLOUD_GENERATED_EDAMERRORCODE_H
13#define QEVERCLOUD_GENERATED_EDAMERRORCODE_H
14
15#include "../Export.h"
16
17#include "../Helpers.h"
18#include <QDebug>
19#include <QMetaType>
20#include <QTextStream>
21
22namespace qevercloud {
23
25
26#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
27#if QEVERCLOUD_USES_Q_NAMESPACE
28Q_NAMESPACE
29#endif
30#endif
31
33
113{
114 UNKNOWN = 1,
115 BAD_DATA_FORMAT = 2,
117 INTERNAL_ERROR = 4,
118 DATA_REQUIRED = 5,
119 LIMIT_REACHED = 6,
120 QUOTA_REACHED = 7,
121 INVALID_AUTH = 8,
122 AUTH_EXPIRED = 9,
123 DATA_CONFLICT = 10,
124 ENML_VALIDATION = 11,
126 LEN_TOO_SHORT = 13,
127 LEN_TOO_LONG = 14,
128 TOO_FEW = 15,
129 TOO_MANY = 16,
131 TAKEN_DOWN = 18,
140 ACCOUNT_CLEAR = 27,
142};
143
144#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
145#if QEVERCLOUD_USES_Q_NAMESPACE
146Q_ENUM_NS(EDAMErrorCode)
147#endif
148#endif
149
150inline uint qHash(EDAMErrorCode value)
151{
152 return static_cast<uint>(value);
153}
154
156
158 QTextStream & out, const EDAMErrorCode value);
159
161
163 QDebug & out, const EDAMErrorCode value);
164
166
201{
205};
206
207#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
208#if QEVERCLOUD_USES_Q_NAMESPACE
210#endif
211#endif
212
214{
215 return static_cast<uint>(value);
216}
217
219
221 QTextStream & out, const EDAMInvalidContactReason value);
222
224
226 QDebug & out, const EDAMInvalidContactReason value);
227
229
252{
253 READ_NOTEBOOK = 0,
256 FULL_ACCESS = 30
257};
258
259#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
260#if QEVERCLOUD_USES_Q_NAMESPACE
262#endif
263#endif
264
266{
267 return static_cast<uint>(value);
268}
269
271
273 QTextStream & out, const ShareRelationshipPrivilegeLevel value);
274
276
278 QDebug & out, const ShareRelationshipPrivilegeLevel value);
279
281
288{
289 NORMAL = 1,
290 PREMIUM = 3,
291 VIP = 5,
292 MANAGER = 7,
293 SUPPORT = 8,
294 ADMIN = 9
295};
296
297#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
298#if QEVERCLOUD_USES_Q_NAMESPACE
299Q_ENUM_NS(PrivilegeLevel)
300#endif
301#endif
302
303inline uint qHash(PrivilegeLevel value)
304{
305 return static_cast<uint>(value);
306}
307
309
311 QTextStream & out, const PrivilegeLevel value);
312
314
316 QDebug & out, const PrivilegeLevel value);
317
319
325enum class ServiceLevel
326{
327 BASIC = 1,
328 PLUS = 2,
329 PREMIUM = 3,
330 BUSINESS = 4
331};
332
333#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
334#if QEVERCLOUD_USES_Q_NAMESPACE
335Q_ENUM_NS(ServiceLevel)
336#endif
337#endif
338
339inline uint qHash(ServiceLevel value)
340{
341 return static_cast<uint>(value);
342}
343
345
347 QTextStream & out, const ServiceLevel value);
348
350
352 QDebug & out, const ServiceLevel value);
353
355
360enum class QueryFormat
361{
362 USER = 1,
363 SEXP = 2
364};
365
366#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
367#if QEVERCLOUD_USES_Q_NAMESPACE
368Q_ENUM_NS(QueryFormat)
369#endif
370#endif
371
372inline uint qHash(QueryFormat value)
373{
374 return static_cast<uint>(value);
375}
376
378
380 QTextStream & out, const QueryFormat value);
381
383
385 QDebug & out, const QueryFormat value);
386
388
394{
395 CREATED = 1,
396 UPDATED = 2,
397 RELEVANCE = 3,
399 TITLE = 5
400};
401
402#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
403#if QEVERCLOUD_USES_Q_NAMESPACE
404Q_ENUM_NS(NoteSortOrder)
405#endif
406#endif
407
408inline uint qHash(NoteSortOrder value)
409{
410 return static_cast<uint>(value);
411}
412
414
416 QTextStream & out, const NoteSortOrder value);
417
419
421 QDebug & out, const NoteSortOrder value);
422
424
446{
447 NONE = 0,
448 PENDING = 1,
449 ACTIVE = 2,
450 FAILED = 3,
452 CANCELED = 5
453};
454
455#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
456#if QEVERCLOUD_USES_Q_NAMESPACE
457Q_ENUM_NS(PremiumOrderStatus)
458#endif
459#endif
460
461inline uint qHash(PremiumOrderStatus value)
462{
463 return static_cast<uint>(value);
464}
465
467
469 QTextStream & out, const PremiumOrderStatus value);
470
472
474 QDebug & out, const PremiumOrderStatus value);
475
477
514{
515 READ_NOTEBOOK = 0,
518 GROUP = 3,
519 FULL_ACCESS = 4,
521};
522
523#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
524#if QEVERCLOUD_USES_Q_NAMESPACE
526#endif
527#endif
528
530{
531 return static_cast<uint>(value);
532}
533
535
537 QTextStream & out, const SharedNotebookPrivilegeLevel value);
538
540
542 QDebug & out, const SharedNotebookPrivilegeLevel value);
543
545
561{
562 READ_NOTE = 0,
563 MODIFY_NOTE = 1,
564 FULL_ACCESS = 2
565};
566
567#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
568#if QEVERCLOUD_USES_Q_NAMESPACE
570#endif
571#endif
572
574{
575 return static_cast<uint>(value);
576}
577
579
581 QTextStream & out, const SharedNotePrivilegeLevel value);
582
584
586 QDebug & out, const SharedNotePrivilegeLevel value);
587
589
600{
601 GROUP_MEMBER = 1,
602 GROUP_ADMIN = 2,
603 GROUP_OWNER = 3
604};
605
606#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
607#if QEVERCLOUD_USES_Q_NAMESPACE
608Q_ENUM_NS(SponsoredGroupRole)
609#endif
610#endif
611
612inline uint qHash(SponsoredGroupRole value)
613{
614 return static_cast<uint>(value);
615}
616
618
620 QTextStream & out, const SponsoredGroupRole value);
621
623
625 QDebug & out, const SponsoredGroupRole value);
626
628
637{
638 ADMIN = 1,
639 NORMAL = 2
640};
641
642#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
643#if QEVERCLOUD_USES_Q_NAMESPACE
644Q_ENUM_NS(BusinessUserRole)
645#endif
646#endif
647
648inline uint qHash(BusinessUserRole value)
649{
650 return static_cast<uint>(value);
651}
652
654
656 QTextStream & out, const BusinessUserRole value);
657
659
661 QDebug & out, const BusinessUserRole value);
662
664
679{
680 ACTIVE = 1,
681 DEACTIVATED = 2
682};
683
684#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
685#if QEVERCLOUD_USES_Q_NAMESPACE
686Q_ENUM_NS(BusinessUserStatus)
687#endif
688#endif
689
690inline uint qHash(BusinessUserStatus value)
691{
692 return static_cast<uint>(value);
693}
694
696
698 QTextStream & out, const BusinessUserStatus value);
699
701
703 QDebug & out, const BusinessUserStatus value);
704
706
718{
719 ASSIGNED = 1,
721};
722
723#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
724#if QEVERCLOUD_USES_Q_NAMESPACE
726#endif
727#endif
728
730{
731 return static_cast<uint>(value);
732}
733
735
737 QTextStream & out, const SharedNotebookInstanceRestrictions value);
738
740
742 QDebug & out, const SharedNotebookInstanceRestrictions value);
743
745
757{
758 DO_NOT_SEND = 1,
760};
761
762#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
763#if QEVERCLOUD_USES_Q_NAMESPACE
764Q_ENUM_NS(ReminderEmailConfig)
765#endif
766#endif
767
768inline uint qHash(ReminderEmailConfig value)
769{
770 return static_cast<uint>(value);
771}
772
774
776 QTextStream & out, const ReminderEmailConfig value);
777
779
781 QDebug & out, const ReminderEmailConfig value);
782
784
799{
800 APPROVED = 0,
801 REQUESTED = 1,
802 REDEEMED = 2
803};
804
805#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
806#if QEVERCLOUD_USES_Q_NAMESPACE
808#endif
809#endif
810
812{
813 return static_cast<uint>(value);
814}
815
817
819 QTextStream & out, const BusinessInvitationStatus value);
820
822
824 QDebug & out, const BusinessInvitationStatus value);
825
827
831enum class ContactType
832{
833 EVERNOTE = 1,
834 SMS = 2,
835 FACEBOOK = 3,
836 EMAIL = 4,
837 TWITTER = 5,
838 LINKEDIN = 6
839};
840
841#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
842#if QEVERCLOUD_USES_Q_NAMESPACE
843Q_ENUM_NS(ContactType)
844#endif
845#endif
846
847inline uint qHash(ContactType value)
848{
849 return static_cast<uint>(value);
850}
851
853
855 QTextStream & out, const ContactType value);
856
858
860 QDebug & out, const ContactType value);
861
863
867enum class EntityType
868{
869 NOTE = 1,
870 NOTEBOOK = 2,
871 WORKSPACE = 3
872};
873
874#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
875#if QEVERCLOUD_USES_Q_NAMESPACE
876Q_ENUM_NS(EntityType)
877#endif
878#endif
879
880inline uint qHash(EntityType value)
881{
882 return static_cast<uint>(value);
883}
884
886
888 QTextStream & out, const EntityType value);
889
891
893 QDebug & out, const EntityType value);
894
896
912{
913 NOT_IN_MY_LIST = 1,
914 IN_MY_LIST = 2,
916};
917
918#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
919#if QEVERCLOUD_USES_Q_NAMESPACE
920Q_ENUM_NS(RecipientStatus)
921#endif
922#endif
923
924inline uint qHash(RecipientStatus value)
925{
926 return static_cast<uint>(value);
927}
928
930
932 QTextStream & out, const RecipientStatus value);
933
935
937 QDebug & out, const RecipientStatus value);
938
940
960{
961 CAN_BE_MOVED = 1,
964};
965
966#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
967#if QEVERCLOUD_USES_Q_NAMESPACE
969#endif
970#endif
971
973{
974 return static_cast<uint>(value);
975}
976
978
980 QTextStream & out, const CanMoveToContainerStatus value);
981
983
985 QDebug & out, const CanMoveToContainerStatus value);
986
988
998{
999 NEWS_ARTICLE = 1,
1000 PROFILE_PERSON = 2,
1003};
1004
1005#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
1006#if QEVERCLOUD_USES_Q_NAMESPACE
1007Q_ENUM_NS(RelatedContentType)
1008#endif
1009#endif
1010
1011inline uint qHash(RelatedContentType value)
1012{
1013 return static_cast<uint>(value);
1014}
1015
1017
1019 QTextStream & out, const RelatedContentType value);
1020
1022
1024 QDebug & out, const RelatedContentType value);
1025
1027
1048{
1049 NOT_ACCESSIBLE = 0,
1053};
1054
1055#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
1056#if QEVERCLOUD_USES_Q_NAMESPACE
1057Q_ENUM_NS(RelatedContentAccess)
1058#endif
1059#endif
1060
1061inline uint qHash(RelatedContentAccess value)
1062{
1063 return static_cast<uint>(value);
1064}
1065
1067
1069 QTextStream & out, const RelatedContentAccess value);
1070
1072
1074 QDebug & out, const RelatedContentAccess value);
1075
1077
1082{
1083 EVERNOTE_USERID = 1,
1084 EMAIL = 2,
1085 IDENTITYID = 3
1086};
1087
1088#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
1089#if QEVERCLOUD_USES_Q_NAMESPACE
1090Q_ENUM_NS(UserIdentityType)
1091#endif
1092#endif
1093
1094inline uint qHash(UserIdentityType value)
1095{
1096 return static_cast<uint>(value);
1097}
1098
1100
1102 QTextStream & out, const UserIdentityType value);
1103
1105
1107 QDebug & out, const UserIdentityType value);
1108
1109} // namespace qevercloud
1110
1111Q_DECLARE_METATYPE(qevercloud::EDAMErrorCode)
1112Q_DECLARE_METATYPE(qevercloud::EDAMInvalidContactReason)
1114Q_DECLARE_METATYPE(qevercloud::PrivilegeLevel)
1115Q_DECLARE_METATYPE(qevercloud::ServiceLevel)
1116Q_DECLARE_METATYPE(qevercloud::QueryFormat)
1117Q_DECLARE_METATYPE(qevercloud::NoteSortOrder)
1118Q_DECLARE_METATYPE(qevercloud::PremiumOrderStatus)
1120Q_DECLARE_METATYPE(qevercloud::SharedNotePrivilegeLevel)
1121Q_DECLARE_METATYPE(qevercloud::SponsoredGroupRole)
1122Q_DECLARE_METATYPE(qevercloud::BusinessUserRole)
1123Q_DECLARE_METATYPE(qevercloud::BusinessUserStatus)
1125Q_DECLARE_METATYPE(qevercloud::ReminderEmailConfig)
1126Q_DECLARE_METATYPE(qevercloud::BusinessInvitationStatus)
1127Q_DECLARE_METATYPE(qevercloud::ContactType)
1128Q_DECLARE_METATYPE(qevercloud::EntityType)
1129Q_DECLARE_METATYPE(qevercloud::RecipientStatus)
1130Q_DECLARE_METATYPE(qevercloud::CanMoveToContainerStatus)
1131Q_DECLARE_METATYPE(qevercloud::RelatedContentType)
1132Q_DECLARE_METATYPE(qevercloud::RelatedContentAccess)
1133Q_DECLARE_METATYPE(qevercloud::UserIdentityType)
1134
1135#endif // QEVERCLOUD_GENERATED_EDAMERRORCODE_H
#define QEVERCLOUD_EXPORT
Definition Export.h:19
Definition AsyncResult.h:21
UserIdentityType
Definition EDAMErrorCode.h:1082
QEVERCLOUD_EXPORT QTextStream & operator<<(QTextStream &out, const EDAMErrorCode value)
SharedNotePrivilegeLevel
Definition EDAMErrorCode.h:561
RelatedContentAccess
Definition EDAMErrorCode.h:1048
PremiumOrderStatus
Definition EDAMErrorCode.h:446
ShareRelationshipPrivilegeLevel
Definition EDAMErrorCode.h:252
CanMoveToContainerStatus
Definition EDAMErrorCode.h:960
ReminderEmailConfig
Definition EDAMErrorCode.h:757
EDAMInvalidContactReason
Definition EDAMErrorCode.h:201
EDAMErrorCode
Definition EDAMErrorCode.h:113
ContactType
Definition EDAMErrorCode.h:832
PrivilegeLevel
Definition EDAMErrorCode.h:288
SharedNotebookPrivilegeLevel
Definition EDAMErrorCode.h:514
ServiceLevel
Definition EDAMErrorCode.h:326
RecipientStatus
Definition EDAMErrorCode.h:912
BusinessInvitationStatus
Definition EDAMErrorCode.h:799
NoteSortOrder
Definition EDAMErrorCode.h:394
BusinessUserRole
Definition EDAMErrorCode.h:637
EntityType
Definition EDAMErrorCode.h:868
RelatedContentType
Definition EDAMErrorCode.h:998
uint qHash(EDAMErrorCode value)
Definition EDAMErrorCode.h:150
BusinessUserStatus
Definition EDAMErrorCode.h:679
SponsoredGroupRole
Definition EDAMErrorCode.h:600
SharedNotebookInstanceRestrictions
Definition EDAMErrorCode.h:718
QueryFormat
Definition EDAMErrorCode.h:361