Nessuna descrizione

WeiboUser.h 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. //
  2. // WeiboUser.h
  3. // WeiboSDK
  4. //
  5. // Created by DannionQiu on 14-9-23.
  6. // Copyright (c) 2014年 SINA iOS Team. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /*@
  10. You can get the latest WeiboUser field description on http://open.weibo.com/wiki/2/friendships/friends/en .
  11. */
  12. @interface WeiboUser : NSObject
  13. - (instancetype)initWithDictionary:(NSDictionary*)paraDict;
  14. + (instancetype)userWithDictionary:(NSDictionary*)paraDict;
  15. // Validate the dictionary to be converted.
  16. + (BOOL)isValidForDictionary:(NSDictionary *)dict;
  17. - (BOOL)updateWithDictionary:(NSDictionary*)paraDict;
  18. @property(readwrite, strong, nonatomic) NSString* userID;
  19. @property(readwrite, strong, nonatomic) NSString* userClass;
  20. @property(readwrite, strong, nonatomic) NSString* screenName;
  21. @property(readwrite, strong, nonatomic) NSString* name;
  22. @property(readwrite, strong, nonatomic) NSString* province;
  23. @property(readwrite, strong, nonatomic) NSString* city;
  24. @property(readwrite, strong, nonatomic) NSString* location;
  25. @property(readwrite, strong, nonatomic) NSString* userDescription;
  26. @property(readwrite, strong, nonatomic) NSString* url;
  27. @property(readwrite, strong, nonatomic) NSString* profileImageUrl;
  28. @property(readwrite, strong, nonatomic) NSString* coverImageUrl;
  29. @property(readwrite, strong, nonatomic) NSString* coverImageForPhoneUrl;
  30. @property(readwrite, strong, nonatomic) NSString* profileUrl;
  31. @property(readwrite, strong, nonatomic) NSString* userDomain;
  32. @property(readwrite, strong, nonatomic) NSString* weihao;
  33. @property(readwrite, strong, nonatomic) NSString* gender;
  34. @property(readwrite, strong, nonatomic) NSString* followersCount;
  35. @property(readwrite, strong, nonatomic) NSString* friendsCount;
  36. @property(readwrite, strong, nonatomic) NSString* pageFriendsCount;
  37. @property(readwrite, strong, nonatomic) NSString* statusesCount;
  38. @property(readwrite, strong, nonatomic) NSString* favouritesCount;
  39. @property(readwrite, strong, nonatomic) NSString* createdTime;
  40. @property(readwrite, assign, nonatomic) BOOL isFollowingMe;
  41. @property(readwrite, assign, nonatomic) BOOL isFollowingByMe;
  42. @property(readwrite, assign, nonatomic) BOOL isAllowAllActMsg;
  43. @property(readwrite, assign, nonatomic) BOOL isAllowAllComment;
  44. @property(readwrite, assign, nonatomic) BOOL isGeoEnabled;
  45. @property(readwrite, assign, nonatomic) BOOL isVerified;
  46. @property(readwrite, strong, nonatomic) NSString* verifiedType;
  47. @property(readwrite, strong, nonatomic) NSString* remark;
  48. @property(readwrite, strong, nonatomic) NSString* statusID;
  49. @property(readwrite, strong, nonatomic) NSString* ptype;
  50. @property(readwrite, strong, nonatomic) NSString* avatarLargeUrl;
  51. @property(readwrite, strong, nonatomic) NSString* avatarHDUrl;
  52. @property(readwrite, strong, nonatomic) NSString* verifiedReason;
  53. @property(readwrite, strong, nonatomic) NSString* verifiedTrade;
  54. @property(readwrite, strong, nonatomic) NSString* verifiedReasonUrl;
  55. @property(readwrite, strong, nonatomic) NSString* verifiedSource;
  56. @property(readwrite, strong, nonatomic) NSString* verifiedSourceUrl;
  57. @property(readwrite, strong, nonatomic) NSString* verifiedState;
  58. @property(readwrite, strong, nonatomic) NSString* verifiedLevel;
  59. @property(readwrite, strong, nonatomic) NSString* onlineStatus;
  60. @property(readwrite, strong, nonatomic) NSString* biFollowersCount;
  61. @property(readwrite, strong, nonatomic) NSString* language;
  62. @property(readwrite, strong, nonatomic) NSString* star;
  63. @property(readwrite, strong, nonatomic) NSString* mbtype;
  64. @property(readwrite, strong, nonatomic) NSString* mbrank;
  65. @property(readwrite, strong, nonatomic) NSString* block_word;
  66. @property(readwrite, strong, nonatomic) NSString* block_app;
  67. @property(readwrite, strong, nonatomic) NSString* credit_score;
  68. @property(readwrite, strong, nonatomic) NSDictionary* originParaDict;
  69. @end