-
Notifications
You must be signed in to change notification settings - Fork 1
/
UserInfo.h
executable file
·59 lines (45 loc) · 3.04 KB
/
UserInfo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// UserInfo.h
// Weibo_Test-0001
//
// Created by 1007 on 13-11-26.
// Copyright (c) 2013年 Ibokan. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UserInfo : NSObject
@property (nonatomic, strong)NSString *userID;//用户UID
@property (nonatomic, strong)NSString *userIDstr;//字符串型的用户UID
@property (nonatomic, strong)NSString *screen_name;//用户昵称
@property (nonatomic, strong)NSString *name;//好友显示名称
@property (nonatomic, assign)int province;//用户所在省级ID
@property (nonatomic, assign)int city;//用户所在城市ID
@property (nonatomic, strong)NSString *location;//用户所在地
@property (nonatomic, strong)NSString *description;//用户个人描述
@property (nonatomic, strong)NSString *url;//用户博客地址
@property (nonatomic, strong)NSString *profile_image_url;//用户头像地址(中图),50*50像素
@property (nonatomic, strong)NSString *profile_url;//用户的微博同意URL地址
@property (nonatomic, strong)NSString *domain;//用户的个性化域名
@property (nonatomic, strong)NSString *weihao;//用户的微号
@property (nonatomic, strong)NSString *gender;//性别,m:男,f:女,n:未知
@property (nonatomic, assign)int followers_count;//粉丝数
@property (nonatomic, assign)int friends_count;//关注数
@property (nonatomic, assign)int statuses_count;//微博数
@property (nonatomic, assign)int favourites_count;//收藏数
@property (nonatomic, strong)NSString *created_at;//用户创建(注册)时间
@property (nonatomic, assign)Boolean following;//暂未支持
@property (nonatomic, assign)Boolean allow_all_act_msg;//是否允许所有人给我发私信,TRUE:是,FALSE:否
@property (nonatomic, assign)Boolean geo_enabled;//是否允许标识用户的地理位置,TRUE:是,FALSE:否
@property (nonatomic, assign)Boolean verified;//是否是微博认证用户,即V用户,TRUE:是,FALSE:否
@property (nonatomic, assign)int verified_type;//暂未支持
@property (nonatomic, strong)NSString *remark;//用户备注信息, 只有在查询用户关系时才返回此字段
@property (nonatomic, strong)NSDictionary *status;//用户最近一条微博的信息字段
@property (nonatomic, assign)Boolean allow_all_comment;//是否允许所有人对我的微博进行评论,TRUE:是,FALSE:否
@property (nonatomic, strong)NSString *avatar_large;//用户头像地址(大图),180*180像素
@property (nonatomic, strong)NSString *avatar_hd;//用户头像地址(高清),高清头像原图
@property (nonatomic, strong)NSString *verified_reason;//认证原因
@property (nonatomic, assign)Boolean follow_me;//该用户是否关注当前登录用户,TRUE:是,FALSE:否
@property (nonatomic, assign)int online_status;//用户的在线状态,0:不在线, 1:在线
@property (nonatomic, assign)int bi_followers_count;//用户的互粉数
@property (nonatomic, strong)NSString *lang;//用户当前的语言版本,zh-cn:简体中文,zh-tw:繁体中文,en:英文
- (id)initWithUser:(NSDictionary *)dic;
@end