Lib: 1/4, 声明 † JSONModel
EssenceModel.h
#import <JSONModel/JSONModel.h>
@class InfoModel;
@class UserModel;
@class VideoModel;
@protocol ListModel;
@protocol TagModel;
@protocol NSString;
@protocol CommentModel;
@interface EssenceModel : JSONModel
@property (nonatomic, strong)InfoModel<Optional> *info;
@property (nonatomic, strong)NSArray<Optional,ListModel> *list;
@end
@interface InfoModel : JSONModel
@property (nonatomic, assign)NSInteger count;
@property (nonatomic, assign)NSInteger np;
@end
@interface ListModel : JSONModel
@property (nonatomic, assign)NSInteger status;
@property (nonatomic, strong)NSString<Optional> *comment;
@property (nonatomic, strong)NSArray<Optional,CommentModel> *top_comments;
@property (nonatomic, strong)NSArray<Optional,TagModel> *tags;
@property (nonatomic, strong)NSString<Optional> *bookmark;
@property (nonatomic, strong)NSString<Optional> *text;
@property (nonatomic, strong)NSString<Optional> *up;
@property (nonatomic, strong)NSString<Optional> *share_url;
@property (nonatomic, assign)NSInteger down;
@property (nonatomic, assign)NSInteger forward;
@property (nonatomic, strong)UserModel<Optional> *u;
@property (nonatomic, strong)NSString<Optional> *passtime;
@property (nonatomic, strong)VideoModel<Optional> *video;
@property (nonatomic, strong)NSString<Optional> *type;
@property (nonatomic, strong)NSString<Optional> *listId;
@end
@interface CommentModel : JSONModel
@property (nonatomic, assign)NSInteger voicetime;
@property (nonatomic, assign)NSInteger precid;
@property (nonatomic, strong)NSString<Optional> * content;
@property (nonatomic, assign)NSInteger like_count;
@property (nonatomic, strong)UserModel<Optional> *u;
@property (nonatomic, assign)NSInteger preuid;
@property (nonatomic, assign)NSInteger commentId;
@property (nonatomic, strong)NSString<Optional> * passtime;
@property (nonatomic, assign)NSInteger voiceuri; // 不是 voiceurl
@end
@interface TagModel : JSONModel
@property (nonatomic, assign)NSInteger tagId;
@property (nonatomic, strong)NSString<Optional> *name;
@end
@interface UserModel : JSONModel
@property (nonatomic, strong)NSArray<Optional,NSString> *header;
@property (nonatomic, assign)BOOL is_v;
@property (nonatomic, strong)NSString<Optional> *uid;
@property (nonatomic, assign)BOOL is_vip;
@property (nonatomic, strong)NSString<Optional> *name;
@property (nonatomic, strong)NSString<Optional> *sex;
@end
@interface VideoModel : JSONModel
@property (nonatomic, assign)NSInteger playfcount;
@property (nonatomic, assign)NSInteger height;
@property (nonatomic, assign)NSInteger width;
@property (nonatomic, strong)NSArray<Optional,NSString> *video;
@property (nonatomic, strong)NSArray<Optional,NSString> *download;
@property (nonatomic, assign)NSInteger duration;
@property (nonatomic, assign)NSInteger playcount;
@property (nonatomic, strong)NSArray<Optional,NSString> *thumbnail;
@property (nonatomic, strong)NSArray<Optional,NSString> *thumbnail_small;
@end