lipengwei
2020-05-27 60b9637b6e97170a4059a2aeaeeac1cd827fcffc
commit | author | age
3eceb5 1 //
W 2 //  VKGroup.h
3 //  sdk
4 //
5 //  Created by Roman Truba on 16.07.14.
6 //  Copyright (c) 2014 VK. All rights reserved.
7 //
8
9 #import "VKApiObjectArray.h"
10 #import "VKUser.h"
11
12 /**
13  Geo-object type
14  */
15 @interface VKGeoPlace : VKApiObject
16
17 @property(nonatomic, strong) NSNumber *id;
18 @property(nonatomic, strong) NSString *title;
19 @property(nonatomic, strong) NSNumber *latitude;
20 @property(nonatomic, strong) NSNumber *longitude;
21 @property(nonatomic, strong) NSNumber *created;
22 @property(nonatomic, strong) NSString *icon;
23 @property(nonatomic, strong) NSNumber *group_id;
24 @property(nonatomic, strong) NSNumber *group_photo;
25 @property(nonatomic, strong) NSNumber *checkins;
26 @property(nonatomic, strong) NSNumber *updated;
27 @property(nonatomic, strong) NSNumber *type;
28 @property(nonatomic, strong) NSNumber *country;
29 @property(nonatomic, strong) NSString *city;
30 @property(nonatomic, strong) NSString *address;
31 @property(nonatomic, strong) NSNumber *showmap;
32 @end
33
34 /**
35  Object representing contact in group
36  */
37 @interface VKGroupContact : VKApiObject
38
39 @property(nonatomic, strong) NSNumber *user_id;
40 @property(nonatomic, strong) NSString *desc;
41 @property(nonatomic, strong) NSString *email;
42
43 @end
44
45 /**
46  Array of VKGroupContact objects
47  */
48 @interface VKGroupContacts : VKApiObjectArray<VKGroupContact*>
49
50 @end
51
52 /**
53  Object representing link in group
54  */
55 @interface VKGroupLink : VKApiObject
56
57 @property(nonatomic, strong) NSString *url;
58 @property(nonatomic, strong) NSString *name;
59 @property(nonatomic, strong) NSString *desc;
60 @property(nonatomic, strong) NSString *photo_50;
61 @property(nonatomic, strong) NSString *photo_100;
62
63 @end
64
65 /**
66  Array of VKGroupLink objects
67  */
68 @interface VKGroupLinks : VKApiObjectArray<VKGroupLink*>
69 @end
70
71 /**
72  Group type of VK API. See descriptions here https://vk.com/dev/fields_groups
73  */
74 @interface VKGroup : VKApiObject
75 @property(nonatomic, strong) NSNumber *id;
76 @property(nonatomic, strong) NSString *name;
77 @property(nonatomic, strong) NSString *screen_name;
78 @property(nonatomic, strong) NSNumber *is_closed;
79 @property(nonatomic, strong) NSString *type;
80 @property(nonatomic, strong) NSNumber *is_admin;
81 @property(nonatomic, strong) NSNumber *admin_level;
82 @property(nonatomic, strong) NSNumber *is_member;
83 @property(nonatomic, strong) VKCity *city;
84 @property(nonatomic, strong) VKCountry *country;
85 @property(nonatomic, strong) VKGeoPlace *place;
86 @property(nonatomic, strong) NSString *description;
87 @property(nonatomic, strong) NSString *wiki_page;
88 @property(nonatomic, strong) NSNumber *members_count;
89 @property(nonatomic, strong) VKCounters *counters;
90 @property(nonatomic, strong) NSNumber *start_date;
91 @property(nonatomic, strong) NSNumber *end_date;
92 @property(nonatomic, strong) NSNumber *finish_date;
93 @property(nonatomic, strong) NSNumber *can_post;
94 @property(nonatomic, strong) NSNumber *can_see_all_posts;
95 @property(nonatomic, strong) NSNumber *can_create_topic;
96 @property(nonatomic, strong) NSNumber *can_upload_doc;
97 @property(nonatomic, strong) NSString *activity;
98 @property(nonatomic, strong) NSString *status;
99 @property(nonatomic, strong) VKAudio *status_audio;
100 @property(nonatomic, strong) VKGroupContacts *contacts;
101 @property(nonatomic, strong) VKGroupLinks *links;
102 @property(nonatomic, strong) NSNumber *fixed_post;
103 @property(nonatomic, strong) NSNumber *verified;
104 @property(nonatomic, strong) NSString *site;
105 @property(nonatomic, strong) NSString *photo_50;
106 @property(nonatomic, strong) NSString *photo_100;
107 @property(nonatomic, strong) NSString *photo_200;
108 @property(nonatomic, strong) NSString *photo_max_orig;
109 @property(nonatomic, strong) NSNumber *is_request;
110 @property(nonatomic, strong) NSNumber *is_invite;
111 @property(nonatomic, strong) VKPhotoArray *photos;
112 @property(nonatomic, strong) NSNumber *photos_count;
113 @property(nonatomic, strong) NSNumber *invited_by;
114 @property(nonatomic, assign) NSInteger invite_state;
115 @property(nonatomic, strong) NSString *deactivated;
116 @property(nonatomic, strong) NSNumber *blacklisted;
117
118 @end
119
120 @interface VKGroups : VKApiObjectArray<VKGroup*>
121
122 @end