TalkAccount.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <Foundation/Foundation.h>
  6. #import <Realm/Realm.h>
  7. NS_ASSUME_NONNULL_BEGIN
  8. @interface TalkAccount : RLMObject
  9. @property NSString *accountId;
  10. @property NSString *server;
  11. @property NSString *user;
  12. @property NSString *userId;
  13. @property NSString *userDisplayName;
  14. @property NSString *userDisplayNameScope;
  15. @property NSString *phone;
  16. @property NSString *phoneScope;
  17. @property NSString *email;
  18. @property NSString *emailScope;
  19. @property NSString *address;
  20. @property NSString *addressScope;
  21. @property NSString *website;
  22. @property NSString *websiteScope;
  23. @property NSString *twitter;
  24. @property NSString *twitterScope;
  25. @property NSInteger lastPushSubscription;
  26. @property NSString *deviceIdentifier;
  27. @property NSString *deviceSignature;
  28. @property NSString *userPublicKey;
  29. @property NSInteger unreadBadgeNumber;
  30. @property BOOL unreadNotification;
  31. @property NSInteger lastContactSync;
  32. @property NSString *avatarScope;
  33. @property BOOL hasCustomAvatar;
  34. @property BOOL hasContactSyncEnabled;
  35. @property BOOL active;
  36. @property NSString * _Nullable lastReceivedConfigurationHash;
  37. @property NSString *lastReceivedModifiedSince;
  38. @property NSInteger lastNotificationId;
  39. @property NSString *lastNotificationETag;
  40. @property NSInteger lastPendingFederationInvitationFetch;
  41. @property NSInteger pendingFederationInvitations;
  42. @property NSString *frequentlyUsedEmojisJSONString;
  43. @end
  44. NS_ASSUME_NONNULL_END