123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- //
- // SSDKUser.h
- // ShareSDK
- //
- // Created by 冯 鸿杰 on 15/2/6.
- // Copyright (c) 2015年 掌淘科技. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "SSDKTypeDefine.h"
- @class SSDKCredential;
- /**
- * 性别
- */
- typedef NS_ENUM(NSUInteger, SSDKGender){
- /**
- * 男
- */
- SSDKGenderMale = 0,
- /**
- * 女
- */
- SSDKGenderFemale = 1,
- /**
- * 未知
- */
- SSDKGenderUnknown = 2,
- };
- /**
- * 用户信息
- */
- @interface SSDKUser : NSObject
- /**
- * 平台类型
- */
- @property (nonatomic) SSDKPlatformType platformType;
- /**
- * 授权凭证, 为nil则表示尚未授权
- */
- @property (nonatomic, retain) SSDKCredential *credential;
- /**
- * 用户标识
- */
- @property (nonatomic, copy) NSString *uid;
- /**
- * 昵称
- */
- @property (nonatomic, copy) NSString *nickname;
- /**
- * 头像
- */
- @property (nonatomic, copy) NSString *icon;
- /**
- * 性别
- */
- @property (nonatomic) SSDKGender gender;
- /**
- * 用户主页
- */
- @property (nonatomic, copy) NSString *url;
- /**
- * 用户简介
- */
- @property (nonatomic, copy) NSString *aboutMe;
- /**
- * 认证用户类型
- */
- @property (nonatomic) NSInteger verifyType;
- /**
- * 认证描述
- */
- @property (nonatomic, copy) NSString *verifyReason;
- /**
- * 生日
- */
- @property (nonatomic, strong) NSDate *birthday;
- /**
- * 粉丝数
- */
- @property (nonatomic) NSInteger followerCount;
- /**
- * 好友数
- */
- @property (nonatomic) NSInteger friendCount;
- /**
- * 分享数
- */
- @property (nonatomic) NSInteger shareCount;
- /**
- * 注册时间
- */
- @property (nonatomic) NSTimeInterval regAt;
- /**
- * 用户等级
- */
- @property (nonatomic) NSInteger level;
- /**
- * 教育信息
- */
- @property (nonatomic, retain) NSArray *educations;
- /**
- * 职业信息
- */
- @property (nonatomic, retain) NSArray *works;
- /**
- * 原始数据
- */
- @property (nonatomic, retain) NSDictionary *rawData;
- @end
|