25 |
- |
1 |
<?php
|
|
|
2 |
/*
|
|
|
3 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
|
4 |
* use this file except in compliance with the License. You may obtain a copy of
|
|
|
5 |
* the License at
|
|
|
6 |
*
|
|
|
7 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
8 |
*
|
|
|
9 |
* Unless required by applicable law or agreed to in writing, software
|
|
|
10 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
11 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
12 |
* License for the specific language governing permissions and limitations under
|
|
|
13 |
* the License.
|
|
|
14 |
*/
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* The "communityMembers" collection of methods.
|
|
|
19 |
* Typical usage is:
|
|
|
20 |
* <code>
|
|
|
21 |
* $orkutService = new Google_OrkutService(...);
|
|
|
22 |
* $communityMembers = $orkutService->communityMembers;
|
|
|
23 |
* </code>
|
|
|
24 |
*/
|
|
|
25 |
class Google_CommunityMembersServiceResource extends Google_ServiceResource {
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
/**
|
|
|
29 |
* Makes the user join a community. (communityMembers.insert)
|
|
|
30 |
*
|
|
|
31 |
* @param int $communityId ID of the community.
|
|
|
32 |
* @param string $userId ID of the user.
|
|
|
33 |
* @param array $optParams Optional parameters.
|
|
|
34 |
* @return Google_CommunityMembers
|
|
|
35 |
*/
|
|
|
36 |
public function insert($communityId, $userId, $optParams = array()) {
|
|
|
37 |
$params = array('communityId' => $communityId, 'userId' => $userId);
|
|
|
38 |
$params = array_merge($params, $optParams);
|
|
|
39 |
$data = $this->__call('insert', array($params));
|
|
|
40 |
if ($this->useObjects()) {
|
|
|
41 |
return new Google_CommunityMembers($data);
|
|
|
42 |
} else {
|
|
|
43 |
return $data;
|
|
|
44 |
}
|
|
|
45 |
}
|
|
|
46 |
/**
|
|
|
47 |
* Retrieves the relationship between a user and a community. (communityMembers.get)
|
|
|
48 |
*
|
|
|
49 |
* @param int $communityId ID of the community.
|
|
|
50 |
* @param string $userId ID of the user.
|
|
|
51 |
* @param array $optParams Optional parameters.
|
|
|
52 |
*
|
|
|
53 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
54 |
* @return Google_CommunityMembers
|
|
|
55 |
*/
|
|
|
56 |
public function get($communityId, $userId, $optParams = array()) {
|
|
|
57 |
$params = array('communityId' => $communityId, 'userId' => $userId);
|
|
|
58 |
$params = array_merge($params, $optParams);
|
|
|
59 |
$data = $this->__call('get', array($params));
|
|
|
60 |
if ($this->useObjects()) {
|
|
|
61 |
return new Google_CommunityMembers($data);
|
|
|
62 |
} else {
|
|
|
63 |
return $data;
|
|
|
64 |
}
|
|
|
65 |
}
|
|
|
66 |
/**
|
|
|
67 |
* Lists members of a community. Use the pagination tokens to retrieve the full list; do not rely on
|
|
|
68 |
* the member count available in the community profile information to know when to stop iterating,
|
|
|
69 |
* as that count may be approximate. (communityMembers.list)
|
|
|
70 |
*
|
|
|
71 |
* @param int $communityId The ID of the community whose members will be listed.
|
|
|
72 |
* @param array $optParams Optional parameters.
|
|
|
73 |
*
|
|
|
74 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
75 |
* @opt_param bool friendsOnly Whether to list only community members who are friends of the user.
|
|
|
76 |
* @opt_param string maxResults The maximum number of members to include in the response.
|
|
|
77 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
78 |
* @return Google_CommunityMembersList
|
|
|
79 |
*/
|
|
|
80 |
public function listCommunityMembers($communityId, $optParams = array()) {
|
|
|
81 |
$params = array('communityId' => $communityId);
|
|
|
82 |
$params = array_merge($params, $optParams);
|
|
|
83 |
$data = $this->__call('list', array($params));
|
|
|
84 |
if ($this->useObjects()) {
|
|
|
85 |
return new Google_CommunityMembersList($data);
|
|
|
86 |
} else {
|
|
|
87 |
return $data;
|
|
|
88 |
}
|
|
|
89 |
}
|
|
|
90 |
/**
|
|
|
91 |
* Makes the user leave a community. (communityMembers.delete)
|
|
|
92 |
*
|
|
|
93 |
* @param int $communityId ID of the community.
|
|
|
94 |
* @param string $userId ID of the user.
|
|
|
95 |
* @param array $optParams Optional parameters.
|
|
|
96 |
*/
|
|
|
97 |
public function delete($communityId, $userId, $optParams = array()) {
|
|
|
98 |
$params = array('communityId' => $communityId, 'userId' => $userId);
|
|
|
99 |
$params = array_merge($params, $optParams);
|
|
|
100 |
$data = $this->__call('delete', array($params));
|
|
|
101 |
return $data;
|
|
|
102 |
}
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
/**
|
|
|
106 |
* The "activities" collection of methods.
|
|
|
107 |
* Typical usage is:
|
|
|
108 |
* <code>
|
|
|
109 |
* $orkutService = new Google_OrkutService(...);
|
|
|
110 |
* $activities = $orkutService->activities;
|
|
|
111 |
* </code>
|
|
|
112 |
*/
|
|
|
113 |
class Google_ActivitiesServiceResource extends Google_ServiceResource {
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
/**
|
|
|
117 |
* Retrieves a list of activities. (activities.list)
|
|
|
118 |
*
|
|
|
119 |
* @param string $userId The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the authenticated user).
|
|
|
120 |
* @param string $collection The collection of activities to list.
|
|
|
121 |
* @param array $optParams Optional parameters.
|
|
|
122 |
*
|
|
|
123 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
124 |
* @opt_param string maxResults The maximum number of activities to include in the response.
|
|
|
125 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
126 |
* @return Google_ActivityList
|
|
|
127 |
*/
|
|
|
128 |
public function listActivities($userId, $collection, $optParams = array()) {
|
|
|
129 |
$params = array('userId' => $userId, 'collection' => $collection);
|
|
|
130 |
$params = array_merge($params, $optParams);
|
|
|
131 |
$data = $this->__call('list', array($params));
|
|
|
132 |
if ($this->useObjects()) {
|
|
|
133 |
return new Google_ActivityList($data);
|
|
|
134 |
} else {
|
|
|
135 |
return $data;
|
|
|
136 |
}
|
|
|
137 |
}
|
|
|
138 |
/**
|
|
|
139 |
* Deletes an existing activity, if the access controls allow it. (activities.delete)
|
|
|
140 |
*
|
|
|
141 |
* @param string $activityId ID of the activity to remove.
|
|
|
142 |
* @param array $optParams Optional parameters.
|
|
|
143 |
*/
|
|
|
144 |
public function delete($activityId, $optParams = array()) {
|
|
|
145 |
$params = array('activityId' => $activityId);
|
|
|
146 |
$params = array_merge($params, $optParams);
|
|
|
147 |
$data = $this->__call('delete', array($params));
|
|
|
148 |
return $data;
|
|
|
149 |
}
|
|
|
150 |
}
|
|
|
151 |
|
|
|
152 |
/**
|
|
|
153 |
* The "communityPollComments" collection of methods.
|
|
|
154 |
* Typical usage is:
|
|
|
155 |
* <code>
|
|
|
156 |
* $orkutService = new Google_OrkutService(...);
|
|
|
157 |
* $communityPollComments = $orkutService->communityPollComments;
|
|
|
158 |
* </code>
|
|
|
159 |
*/
|
|
|
160 |
class Google_CommunityPollCommentsServiceResource extends Google_ServiceResource {
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
/**
|
|
|
164 |
* Adds a comment on a community poll. (communityPollComments.insert)
|
|
|
165 |
*
|
|
|
166 |
* @param int $communityId The ID of the community whose poll is being commented.
|
|
|
167 |
* @param string $pollId The ID of the poll being commented.
|
|
|
168 |
* @param Google_CommunityPollComment $postBody
|
|
|
169 |
* @param array $optParams Optional parameters.
|
|
|
170 |
* @return Google_CommunityPollComment
|
|
|
171 |
*/
|
|
|
172 |
public function insert($communityId, $pollId, Google_CommunityPollComment $postBody, $optParams = array()) {
|
|
|
173 |
$params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody);
|
|
|
174 |
$params = array_merge($params, $optParams);
|
|
|
175 |
$data = $this->__call('insert', array($params));
|
|
|
176 |
if ($this->useObjects()) {
|
|
|
177 |
return new Google_CommunityPollComment($data);
|
|
|
178 |
} else {
|
|
|
179 |
return $data;
|
|
|
180 |
}
|
|
|
181 |
}
|
|
|
182 |
/**
|
|
|
183 |
* Retrieves the comments of a community poll. (communityPollComments.list)
|
|
|
184 |
*
|
|
|
185 |
* @param int $communityId The ID of the community whose poll is having its comments listed.
|
|
|
186 |
* @param string $pollId The ID of the community whose polls will be listed.
|
|
|
187 |
* @param array $optParams Optional parameters.
|
|
|
188 |
*
|
|
|
189 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
190 |
* @opt_param string maxResults The maximum number of comments to include in the response.
|
|
|
191 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
192 |
* @return Google_CommunityPollCommentList
|
|
|
193 |
*/
|
|
|
194 |
public function listCommunityPollComments($communityId, $pollId, $optParams = array()) {
|
|
|
195 |
$params = array('communityId' => $communityId, 'pollId' => $pollId);
|
|
|
196 |
$params = array_merge($params, $optParams);
|
|
|
197 |
$data = $this->__call('list', array($params));
|
|
|
198 |
if ($this->useObjects()) {
|
|
|
199 |
return new Google_CommunityPollCommentList($data);
|
|
|
200 |
} else {
|
|
|
201 |
return $data;
|
|
|
202 |
}
|
|
|
203 |
}
|
|
|
204 |
}
|
|
|
205 |
|
|
|
206 |
/**
|
|
|
207 |
* The "communityPolls" collection of methods.
|
|
|
208 |
* Typical usage is:
|
|
|
209 |
* <code>
|
|
|
210 |
* $orkutService = new Google_OrkutService(...);
|
|
|
211 |
* $communityPolls = $orkutService->communityPolls;
|
|
|
212 |
* </code>
|
|
|
213 |
*/
|
|
|
214 |
class Google_CommunityPollsServiceResource extends Google_ServiceResource {
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
/**
|
|
|
218 |
* Retrieves the polls of a community. (communityPolls.list)
|
|
|
219 |
*
|
|
|
220 |
* @param int $communityId The ID of the community which polls will be listed.
|
|
|
221 |
* @param array $optParams Optional parameters.
|
|
|
222 |
*
|
|
|
223 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
224 |
* @opt_param string maxResults The maximum number of polls to include in the response.
|
|
|
225 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
226 |
* @return Google_CommunityPollList
|
|
|
227 |
*/
|
|
|
228 |
public function listCommunityPolls($communityId, $optParams = array()) {
|
|
|
229 |
$params = array('communityId' => $communityId);
|
|
|
230 |
$params = array_merge($params, $optParams);
|
|
|
231 |
$data = $this->__call('list', array($params));
|
|
|
232 |
if ($this->useObjects()) {
|
|
|
233 |
return new Google_CommunityPollList($data);
|
|
|
234 |
} else {
|
|
|
235 |
return $data;
|
|
|
236 |
}
|
|
|
237 |
}
|
|
|
238 |
/**
|
|
|
239 |
* Retrieves one specific poll of a community. (communityPolls.get)
|
|
|
240 |
*
|
|
|
241 |
* @param int $communityId The ID of the community for whose poll will be retrieved.
|
|
|
242 |
* @param string $pollId The ID of the poll to get.
|
|
|
243 |
* @param array $optParams Optional parameters.
|
|
|
244 |
*
|
|
|
245 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
246 |
* @return Google_CommunityPoll
|
|
|
247 |
*/
|
|
|
248 |
public function get($communityId, $pollId, $optParams = array()) {
|
|
|
249 |
$params = array('communityId' => $communityId, 'pollId' => $pollId);
|
|
|
250 |
$params = array_merge($params, $optParams);
|
|
|
251 |
$data = $this->__call('get', array($params));
|
|
|
252 |
if ($this->useObjects()) {
|
|
|
253 |
return new Google_CommunityPoll($data);
|
|
|
254 |
} else {
|
|
|
255 |
return $data;
|
|
|
256 |
}
|
|
|
257 |
}
|
|
|
258 |
}
|
|
|
259 |
|
|
|
260 |
/**
|
|
|
261 |
* The "communityMessages" collection of methods.
|
|
|
262 |
* Typical usage is:
|
|
|
263 |
* <code>
|
|
|
264 |
* $orkutService = new Google_OrkutService(...);
|
|
|
265 |
* $communityMessages = $orkutService->communityMessages;
|
|
|
266 |
* </code>
|
|
|
267 |
*/
|
|
|
268 |
class Google_CommunityMessagesServiceResource extends Google_ServiceResource {
|
|
|
269 |
|
|
|
270 |
|
|
|
271 |
/**
|
|
|
272 |
* Adds a message to a given community topic. (communityMessages.insert)
|
|
|
273 |
*
|
|
|
274 |
* @param int $communityId The ID of the community the message should be added to.
|
|
|
275 |
* @param string $topicId The ID of the topic the message should be added to.
|
|
|
276 |
* @param Google_CommunityMessage $postBody
|
|
|
277 |
* @param array $optParams Optional parameters.
|
|
|
278 |
* @return Google_CommunityMessage
|
|
|
279 |
*/
|
|
|
280 |
public function insert($communityId, $topicId, Google_CommunityMessage $postBody, $optParams = array()) {
|
|
|
281 |
$params = array('communityId' => $communityId, 'topicId' => $topicId, 'postBody' => $postBody);
|
|
|
282 |
$params = array_merge($params, $optParams);
|
|
|
283 |
$data = $this->__call('insert', array($params));
|
|
|
284 |
if ($this->useObjects()) {
|
|
|
285 |
return new Google_CommunityMessage($data);
|
|
|
286 |
} else {
|
|
|
287 |
return $data;
|
|
|
288 |
}
|
|
|
289 |
}
|
|
|
290 |
/**
|
|
|
291 |
* Retrieves the messages of a topic of a community. (communityMessages.list)
|
|
|
292 |
*
|
|
|
293 |
* @param int $communityId The ID of the community which messages will be listed.
|
|
|
294 |
* @param string $topicId The ID of the topic which messages will be listed.
|
|
|
295 |
* @param array $optParams Optional parameters.
|
|
|
296 |
*
|
|
|
297 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
298 |
* @opt_param string maxResults The maximum number of messages to include in the response.
|
|
|
299 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
300 |
* @return Google_CommunityMessageList
|
|
|
301 |
*/
|
|
|
302 |
public function listCommunityMessages($communityId, $topicId, $optParams = array()) {
|
|
|
303 |
$params = array('communityId' => $communityId, 'topicId' => $topicId);
|
|
|
304 |
$params = array_merge($params, $optParams);
|
|
|
305 |
$data = $this->__call('list', array($params));
|
|
|
306 |
if ($this->useObjects()) {
|
|
|
307 |
return new Google_CommunityMessageList($data);
|
|
|
308 |
} else {
|
|
|
309 |
return $data;
|
|
|
310 |
}
|
|
|
311 |
}
|
|
|
312 |
/**
|
|
|
313 |
* Moves a message of the community to the trash folder. (communityMessages.delete)
|
|
|
314 |
*
|
|
|
315 |
* @param int $communityId The ID of the community whose message will be moved to the trash folder.
|
|
|
316 |
* @param string $topicId The ID of the topic whose message will be moved to the trash folder.
|
|
|
317 |
* @param string $messageId The ID of the message to be moved to the trash folder.
|
|
|
318 |
* @param array $optParams Optional parameters.
|
|
|
319 |
*/
|
|
|
320 |
public function delete($communityId, $topicId, $messageId, $optParams = array()) {
|
|
|
321 |
$params = array('communityId' => $communityId, 'topicId' => $topicId, 'messageId' => $messageId);
|
|
|
322 |
$params = array_merge($params, $optParams);
|
|
|
323 |
$data = $this->__call('delete', array($params));
|
|
|
324 |
return $data;
|
|
|
325 |
}
|
|
|
326 |
}
|
|
|
327 |
|
|
|
328 |
/**
|
|
|
329 |
* The "communityTopics" collection of methods.
|
|
|
330 |
* Typical usage is:
|
|
|
331 |
* <code>
|
|
|
332 |
* $orkutService = new Google_OrkutService(...);
|
|
|
333 |
* $communityTopics = $orkutService->communityTopics;
|
|
|
334 |
* </code>
|
|
|
335 |
*/
|
|
|
336 |
class Google_CommunityTopicsServiceResource extends Google_ServiceResource {
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
/**
|
|
|
340 |
* Adds a topic to a given community. (communityTopics.insert)
|
|
|
341 |
*
|
|
|
342 |
* @param int $communityId The ID of the community the topic should be added to.
|
|
|
343 |
* @param Google_CommunityTopic $postBody
|
|
|
344 |
* @param array $optParams Optional parameters.
|
|
|
345 |
*
|
|
|
346 |
* @opt_param bool isShout Whether this topic is a shout.
|
|
|
347 |
* @return Google_CommunityTopic
|
|
|
348 |
*/
|
|
|
349 |
public function insert($communityId, Google_CommunityTopic $postBody, $optParams = array()) {
|
|
|
350 |
$params = array('communityId' => $communityId, 'postBody' => $postBody);
|
|
|
351 |
$params = array_merge($params, $optParams);
|
|
|
352 |
$data = $this->__call('insert', array($params));
|
|
|
353 |
if ($this->useObjects()) {
|
|
|
354 |
return new Google_CommunityTopic($data);
|
|
|
355 |
} else {
|
|
|
356 |
return $data;
|
|
|
357 |
}
|
|
|
358 |
}
|
|
|
359 |
/**
|
|
|
360 |
* Retrieves a topic of a community. (communityTopics.get)
|
|
|
361 |
*
|
|
|
362 |
* @param int $communityId The ID of the community whose topic will be retrieved.
|
|
|
363 |
* @param string $topicId The ID of the topic to get.
|
|
|
364 |
* @param array $optParams Optional parameters.
|
|
|
365 |
*
|
|
|
366 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
367 |
* @return Google_CommunityTopic
|
|
|
368 |
*/
|
|
|
369 |
public function get($communityId, $topicId, $optParams = array()) {
|
|
|
370 |
$params = array('communityId' => $communityId, 'topicId' => $topicId);
|
|
|
371 |
$params = array_merge($params, $optParams);
|
|
|
372 |
$data = $this->__call('get', array($params));
|
|
|
373 |
if ($this->useObjects()) {
|
|
|
374 |
return new Google_CommunityTopic($data);
|
|
|
375 |
} else {
|
|
|
376 |
return $data;
|
|
|
377 |
}
|
|
|
378 |
}
|
|
|
379 |
/**
|
|
|
380 |
* Retrieves the topics of a community. (communityTopics.list)
|
|
|
381 |
*
|
|
|
382 |
* @param int $communityId The ID of the community which topics will be listed.
|
|
|
383 |
* @param array $optParams Optional parameters.
|
|
|
384 |
*
|
|
|
385 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
386 |
* @opt_param string maxResults The maximum number of topics to include in the response.
|
|
|
387 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
388 |
* @return Google_CommunityTopicList
|
|
|
389 |
*/
|
|
|
390 |
public function listCommunityTopics($communityId, $optParams = array()) {
|
|
|
391 |
$params = array('communityId' => $communityId);
|
|
|
392 |
$params = array_merge($params, $optParams);
|
|
|
393 |
$data = $this->__call('list', array($params));
|
|
|
394 |
if ($this->useObjects()) {
|
|
|
395 |
return new Google_CommunityTopicList($data);
|
|
|
396 |
} else {
|
|
|
397 |
return $data;
|
|
|
398 |
}
|
|
|
399 |
}
|
|
|
400 |
/**
|
|
|
401 |
* Moves a topic of the community to the trash folder. (communityTopics.delete)
|
|
|
402 |
*
|
|
|
403 |
* @param int $communityId The ID of the community whose topic will be moved to the trash folder.
|
|
|
404 |
* @param string $topicId The ID of the topic to be moved to the trash folder.
|
|
|
405 |
* @param array $optParams Optional parameters.
|
|
|
406 |
*/
|
|
|
407 |
public function delete($communityId, $topicId, $optParams = array()) {
|
|
|
408 |
$params = array('communityId' => $communityId, 'topicId' => $topicId);
|
|
|
409 |
$params = array_merge($params, $optParams);
|
|
|
410 |
$data = $this->__call('delete', array($params));
|
|
|
411 |
return $data;
|
|
|
412 |
}
|
|
|
413 |
}
|
|
|
414 |
|
|
|
415 |
/**
|
|
|
416 |
* The "comments" collection of methods.
|
|
|
417 |
* Typical usage is:
|
|
|
418 |
* <code>
|
|
|
419 |
* $orkutService = new Google_OrkutService(...);
|
|
|
420 |
* $comments = $orkutService->comments;
|
|
|
421 |
* </code>
|
|
|
422 |
*/
|
|
|
423 |
class Google_CommentsServiceResource extends Google_ServiceResource {
|
|
|
424 |
|
|
|
425 |
|
|
|
426 |
/**
|
|
|
427 |
* Inserts a new comment to an activity. (comments.insert)
|
|
|
428 |
*
|
|
|
429 |
* @param string $activityId The ID of the activity to contain the new comment.
|
|
|
430 |
* @param Google_Comment $postBody
|
|
|
431 |
* @param array $optParams Optional parameters.
|
|
|
432 |
* @return Google_Comment
|
|
|
433 |
*/
|
|
|
434 |
public function insert($activityId, Google_Comment $postBody, $optParams = array()) {
|
|
|
435 |
$params = array('activityId' => $activityId, 'postBody' => $postBody);
|
|
|
436 |
$params = array_merge($params, $optParams);
|
|
|
437 |
$data = $this->__call('insert', array($params));
|
|
|
438 |
if ($this->useObjects()) {
|
|
|
439 |
return new Google_Comment($data);
|
|
|
440 |
} else {
|
|
|
441 |
return $data;
|
|
|
442 |
}
|
|
|
443 |
}
|
|
|
444 |
/**
|
|
|
445 |
* Retrieves an existing comment. (comments.get)
|
|
|
446 |
*
|
|
|
447 |
* @param string $commentId ID of the comment to get.
|
|
|
448 |
* @param array $optParams Optional parameters.
|
|
|
449 |
*
|
|
|
450 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
451 |
* @return Google_Comment
|
|
|
452 |
*/
|
|
|
453 |
public function get($commentId, $optParams = array()) {
|
|
|
454 |
$params = array('commentId' => $commentId);
|
|
|
455 |
$params = array_merge($params, $optParams);
|
|
|
456 |
$data = $this->__call('get', array($params));
|
|
|
457 |
if ($this->useObjects()) {
|
|
|
458 |
return new Google_Comment($data);
|
|
|
459 |
} else {
|
|
|
460 |
return $data;
|
|
|
461 |
}
|
|
|
462 |
}
|
|
|
463 |
/**
|
|
|
464 |
* Retrieves a list of comments, possibly filtered. (comments.list)
|
|
|
465 |
*
|
|
|
466 |
* @param string $activityId The ID of the activity containing the comments.
|
|
|
467 |
* @param array $optParams Optional parameters.
|
|
|
468 |
*
|
|
|
469 |
* @opt_param string orderBy Sort search results.
|
|
|
470 |
* @opt_param string pageToken A continuation token that allows pagination.
|
|
|
471 |
* @opt_param string maxResults The maximum number of activities to include in the response.
|
|
|
472 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
473 |
* @return Google_CommentList
|
|
|
474 |
*/
|
|
|
475 |
public function listComments($activityId, $optParams = array()) {
|
|
|
476 |
$params = array('activityId' => $activityId);
|
|
|
477 |
$params = array_merge($params, $optParams);
|
|
|
478 |
$data = $this->__call('list', array($params));
|
|
|
479 |
if ($this->useObjects()) {
|
|
|
480 |
return new Google_CommentList($data);
|
|
|
481 |
} else {
|
|
|
482 |
return $data;
|
|
|
483 |
}
|
|
|
484 |
}
|
|
|
485 |
/**
|
|
|
486 |
* Deletes an existing comment. (comments.delete)
|
|
|
487 |
*
|
|
|
488 |
* @param string $commentId ID of the comment to remove.
|
|
|
489 |
* @param array $optParams Optional parameters.
|
|
|
490 |
*/
|
|
|
491 |
public function delete($commentId, $optParams = array()) {
|
|
|
492 |
$params = array('commentId' => $commentId);
|
|
|
493 |
$params = array_merge($params, $optParams);
|
|
|
494 |
$data = $this->__call('delete', array($params));
|
|
|
495 |
return $data;
|
|
|
496 |
}
|
|
|
497 |
}
|
|
|
498 |
|
|
|
499 |
/**
|
|
|
500 |
* The "acl" collection of methods.
|
|
|
501 |
* Typical usage is:
|
|
|
502 |
* <code>
|
|
|
503 |
* $orkutService = new Google_OrkutService(...);
|
|
|
504 |
* $acl = $orkutService->acl;
|
|
|
505 |
* </code>
|
|
|
506 |
*/
|
|
|
507 |
class Google_AclServiceResource extends Google_ServiceResource {
|
|
|
508 |
|
|
|
509 |
|
|
|
510 |
/**
|
|
|
511 |
* Excludes an element from the ACL of the activity. (acl.delete)
|
|
|
512 |
*
|
|
|
513 |
* @param string $activityId ID of the activity.
|
|
|
514 |
* @param string $userId ID of the user to be removed from the activity.
|
|
|
515 |
* @param array $optParams Optional parameters.
|
|
|
516 |
*/
|
|
|
517 |
public function delete($activityId, $userId, $optParams = array()) {
|
|
|
518 |
$params = array('activityId' => $activityId, 'userId' => $userId);
|
|
|
519 |
$params = array_merge($params, $optParams);
|
|
|
520 |
$data = $this->__call('delete', array($params));
|
|
|
521 |
return $data;
|
|
|
522 |
}
|
|
|
523 |
}
|
|
|
524 |
|
|
|
525 |
/**
|
|
|
526 |
* The "communityRelated" collection of methods.
|
|
|
527 |
* Typical usage is:
|
|
|
528 |
* <code>
|
|
|
529 |
* $orkutService = new Google_OrkutService(...);
|
|
|
530 |
* $communityRelated = $orkutService->communityRelated;
|
|
|
531 |
* </code>
|
|
|
532 |
*/
|
|
|
533 |
class Google_CommunityRelatedServiceResource extends Google_ServiceResource {
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
/**
|
|
|
537 |
* Retrieves the communities related to another one. (communityRelated.list)
|
|
|
538 |
*
|
|
|
539 |
* @param int $communityId The ID of the community whose related communities will be listed.
|
|
|
540 |
* @param array $optParams Optional parameters.
|
|
|
541 |
*
|
|
|
542 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
543 |
* @return Google_CommunityList
|
|
|
544 |
*/
|
|
|
545 |
public function listCommunityRelated($communityId, $optParams = array()) {
|
|
|
546 |
$params = array('communityId' => $communityId);
|
|
|
547 |
$params = array_merge($params, $optParams);
|
|
|
548 |
$data = $this->__call('list', array($params));
|
|
|
549 |
if ($this->useObjects()) {
|
|
|
550 |
return new Google_CommunityList($data);
|
|
|
551 |
} else {
|
|
|
552 |
return $data;
|
|
|
553 |
}
|
|
|
554 |
}
|
|
|
555 |
}
|
|
|
556 |
|
|
|
557 |
/**
|
|
|
558 |
* The "scraps" collection of methods.
|
|
|
559 |
* Typical usage is:
|
|
|
560 |
* <code>
|
|
|
561 |
* $orkutService = new Google_OrkutService(...);
|
|
|
562 |
* $scraps = $orkutService->scraps;
|
|
|
563 |
* </code>
|
|
|
564 |
*/
|
|
|
565 |
class Google_ScrapsServiceResource extends Google_ServiceResource {
|
|
|
566 |
|
|
|
567 |
|
|
|
568 |
/**
|
|
|
569 |
* Creates a new scrap. (scraps.insert)
|
|
|
570 |
*
|
|
|
571 |
* @param Google_Activity $postBody
|
|
|
572 |
* @param array $optParams Optional parameters.
|
|
|
573 |
* @return Google_Activity
|
|
|
574 |
*/
|
|
|
575 |
public function insert(Google_Activity $postBody, $optParams = array()) {
|
|
|
576 |
$params = array('postBody' => $postBody);
|
|
|
577 |
$params = array_merge($params, $optParams);
|
|
|
578 |
$data = $this->__call('insert', array($params));
|
|
|
579 |
if ($this->useObjects()) {
|
|
|
580 |
return new Google_Activity($data);
|
|
|
581 |
} else {
|
|
|
582 |
return $data;
|
|
|
583 |
}
|
|
|
584 |
}
|
|
|
585 |
}
|
|
|
586 |
|
|
|
587 |
/**
|
|
|
588 |
* The "communityPollVotes" collection of methods.
|
|
|
589 |
* Typical usage is:
|
|
|
590 |
* <code>
|
|
|
591 |
* $orkutService = new Google_OrkutService(...);
|
|
|
592 |
* $communityPollVotes = $orkutService->communityPollVotes;
|
|
|
593 |
* </code>
|
|
|
594 |
*/
|
|
|
595 |
class Google_CommunityPollVotesServiceResource extends Google_ServiceResource {
|
|
|
596 |
|
|
|
597 |
|
|
|
598 |
/**
|
|
|
599 |
* Votes on a community poll. (communityPollVotes.insert)
|
|
|
600 |
*
|
|
|
601 |
* @param int $communityId The ID of the community whose poll is being voted.
|
|
|
602 |
* @param string $pollId The ID of the poll being voted.
|
|
|
603 |
* @param Google_CommunityPollVote $postBody
|
|
|
604 |
* @param array $optParams Optional parameters.
|
|
|
605 |
* @return Google_CommunityPollVote
|
|
|
606 |
*/
|
|
|
607 |
public function insert($communityId, $pollId, Google_CommunityPollVote $postBody, $optParams = array()) {
|
|
|
608 |
$params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody);
|
|
|
609 |
$params = array_merge($params, $optParams);
|
|
|
610 |
$data = $this->__call('insert', array($params));
|
|
|
611 |
if ($this->useObjects()) {
|
|
|
612 |
return new Google_CommunityPollVote($data);
|
|
|
613 |
} else {
|
|
|
614 |
return $data;
|
|
|
615 |
}
|
|
|
616 |
}
|
|
|
617 |
}
|
|
|
618 |
|
|
|
619 |
/**
|
|
|
620 |
* The "communities" collection of methods.
|
|
|
621 |
* Typical usage is:
|
|
|
622 |
* <code>
|
|
|
623 |
* $orkutService = new Google_OrkutService(...);
|
|
|
624 |
* $communities = $orkutService->communities;
|
|
|
625 |
* </code>
|
|
|
626 |
*/
|
|
|
627 |
class Google_CommunitiesServiceResource extends Google_ServiceResource {
|
|
|
628 |
|
|
|
629 |
|
|
|
630 |
/**
|
|
|
631 |
* Retrieves the list of communities the current user is a member of. (communities.list)
|
|
|
632 |
*
|
|
|
633 |
* @param string $userId The ID of the user whose communities will be listed. Can be me to refer to caller.
|
|
|
634 |
* @param array $optParams Optional parameters.
|
|
|
635 |
*
|
|
|
636 |
* @opt_param string orderBy How to order the communities by.
|
|
|
637 |
* @opt_param string maxResults The maximum number of communities to include in the response.
|
|
|
638 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
639 |
* @return Google_CommunityList
|
|
|
640 |
*/
|
|
|
641 |
public function listCommunities($userId, $optParams = array()) {
|
|
|
642 |
$params = array('userId' => $userId);
|
|
|
643 |
$params = array_merge($params, $optParams);
|
|
|
644 |
$data = $this->__call('list', array($params));
|
|
|
645 |
if ($this->useObjects()) {
|
|
|
646 |
return new Google_CommunityList($data);
|
|
|
647 |
} else {
|
|
|
648 |
return $data;
|
|
|
649 |
}
|
|
|
650 |
}
|
|
|
651 |
/**
|
|
|
652 |
* Retrieves the basic information (aka. profile) of a community. (communities.get)
|
|
|
653 |
*
|
|
|
654 |
* @param int $communityId The ID of the community to get.
|
|
|
655 |
* @param array $optParams Optional parameters.
|
|
|
656 |
*
|
|
|
657 |
* @opt_param string hl Specifies the interface language (host language) of your user interface.
|
|
|
658 |
* @return Google_Community
|
|
|
659 |
*/
|
|
|
660 |
public function get($communityId, $optParams = array()) {
|
|
|
661 |
$params = array('communityId' => $communityId);
|
|
|
662 |
$params = array_merge($params, $optParams);
|
|
|
663 |
$data = $this->__call('get', array($params));
|
|
|
664 |
if ($this->useObjects()) {
|
|
|
665 |
return new Google_Community($data);
|
|
|
666 |
} else {
|
|
|
667 |
return $data;
|
|
|
668 |
}
|
|
|
669 |
}
|
|
|
670 |
}
|
|
|
671 |
|
|
|
672 |
/**
|
|
|
673 |
* The "communityFollow" collection of methods.
|
|
|
674 |
* Typical usage is:
|
|
|
675 |
* <code>
|
|
|
676 |
* $orkutService = new Google_OrkutService(...);
|
|
|
677 |
* $communityFollow = $orkutService->communityFollow;
|
|
|
678 |
* </code>
|
|
|
679 |
*/
|
|
|
680 |
class Google_CommunityFollowServiceResource extends Google_ServiceResource {
|
|
|
681 |
|
|
|
682 |
|
|
|
683 |
/**
|
|
|
684 |
* Adds a user as a follower of a community. (communityFollow.insert)
|
|
|
685 |
*
|
|
|
686 |
* @param int $communityId ID of the community.
|
|
|
687 |
* @param string $userId ID of the user.
|
|
|
688 |
* @param array $optParams Optional parameters.
|
|
|
689 |
* @return Google_CommunityMembers
|
|
|
690 |
*/
|
|
|
691 |
public function insert($communityId, $userId, $optParams = array()) {
|
|
|
692 |
$params = array('communityId' => $communityId, 'userId' => $userId);
|
|
|
693 |
$params = array_merge($params, $optParams);
|
|
|
694 |
$data = $this->__call('insert', array($params));
|
|
|
695 |
if ($this->useObjects()) {
|
|
|
696 |
return new Google_CommunityMembers($data);
|
|
|
697 |
} else {
|
|
|
698 |
return $data;
|
|
|
699 |
}
|
|
|
700 |
}
|
|
|
701 |
/**
|
|
|
702 |
* Removes a user from the followers of a community. (communityFollow.delete)
|
|
|
703 |
*
|
|
|
704 |
* @param int $communityId ID of the community.
|
|
|
705 |
* @param string $userId ID of the user.
|
|
|
706 |
* @param array $optParams Optional parameters.
|
|
|
707 |
*/
|
|
|
708 |
public function delete($communityId, $userId, $optParams = array()) {
|
|
|
709 |
$params = array('communityId' => $communityId, 'userId' => $userId);
|
|
|
710 |
$params = array_merge($params, $optParams);
|
|
|
711 |
$data = $this->__call('delete', array($params));
|
|
|
712 |
return $data;
|
|
|
713 |
}
|
|
|
714 |
}
|
|
|
715 |
|
|
|
716 |
/**
|
|
|
717 |
* The "activityVisibility" collection of methods.
|
|
|
718 |
* Typical usage is:
|
|
|
719 |
* <code>
|
|
|
720 |
* $orkutService = new Google_OrkutService(...);
|
|
|
721 |
* $activityVisibility = $orkutService->activityVisibility;
|
|
|
722 |
* </code>
|
|
|
723 |
*/
|
|
|
724 |
class Google_ActivityVisibilityServiceResource extends Google_ServiceResource {
|
|
|
725 |
|
|
|
726 |
|
|
|
727 |
/**
|
|
|
728 |
* Updates the visibility of an existing activity. This method supports patch semantics.
|
|
|
729 |
* (activityVisibility.patch)
|
|
|
730 |
*
|
|
|
731 |
* @param string $activityId ID of the activity.
|
|
|
732 |
* @param Google_Visibility $postBody
|
|
|
733 |
* @param array $optParams Optional parameters.
|
|
|
734 |
* @return Google_Visibility
|
|
|
735 |
*/
|
|
|
736 |
public function patch($activityId, Google_Visibility $postBody, $optParams = array()) {
|
|
|
737 |
$params = array('activityId' => $activityId, 'postBody' => $postBody);
|
|
|
738 |
$params = array_merge($params, $optParams);
|
|
|
739 |
$data = $this->__call('patch', array($params));
|
|
|
740 |
if ($this->useObjects()) {
|
|
|
741 |
return new Google_Visibility($data);
|
|
|
742 |
} else {
|
|
|
743 |
return $data;
|
|
|
744 |
}
|
|
|
745 |
}
|
|
|
746 |
/**
|
|
|
747 |
* Updates the visibility of an existing activity. (activityVisibility.update)
|
|
|
748 |
*
|
|
|
749 |
* @param string $activityId ID of the activity.
|
|
|
750 |
* @param Google_Visibility $postBody
|
|
|
751 |
* @param array $optParams Optional parameters.
|
|
|
752 |
* @return Google_Visibility
|
|
|
753 |
*/
|
|
|
754 |
public function update($activityId, Google_Visibility $postBody, $optParams = array()) {
|
|
|
755 |
$params = array('activityId' => $activityId, 'postBody' => $postBody);
|
|
|
756 |
$params = array_merge($params, $optParams);
|
|
|
757 |
$data = $this->__call('update', array($params));
|
|
|
758 |
if ($this->useObjects()) {
|
|
|
759 |
return new Google_Visibility($data);
|
|
|
760 |
} else {
|
|
|
761 |
return $data;
|
|
|
762 |
}
|
|
|
763 |
}
|
|
|
764 |
/**
|
|
|
765 |
* Gets the visibility of an existing activity. (activityVisibility.get)
|
|
|
766 |
*
|
|
|
767 |
* @param string $activityId ID of the activity to get the visibility.
|
|
|
768 |
* @param array $optParams Optional parameters.
|
|
|
769 |
* @return Google_Visibility
|
|
|
770 |
*/
|
|
|
771 |
public function get($activityId, $optParams = array()) {
|
|
|
772 |
$params = array('activityId' => $activityId);
|
|
|
773 |
$params = array_merge($params, $optParams);
|
|
|
774 |
$data = $this->__call('get', array($params));
|
|
|
775 |
if ($this->useObjects()) {
|
|
|
776 |
return new Google_Visibility($data);
|
|
|
777 |
} else {
|
|
|
778 |
return $data;
|
|
|
779 |
}
|
|
|
780 |
}
|
|
|
781 |
}
|
|
|
782 |
|
|
|
783 |
/**
|
|
|
784 |
* The "badges" collection of methods.
|
|
|
785 |
* Typical usage is:
|
|
|
786 |
* <code>
|
|
|
787 |
* $orkutService = new Google_OrkutService(...);
|
|
|
788 |
* $badges = $orkutService->badges;
|
|
|
789 |
* </code>
|
|
|
790 |
*/
|
|
|
791 |
class Google_BadgesServiceResource extends Google_ServiceResource {
|
|
|
792 |
|
|
|
793 |
|
|
|
794 |
/**
|
|
|
795 |
* Retrieves the list of visible badges of a user. (badges.list)
|
|
|
796 |
*
|
|
|
797 |
* @param string $userId The id of the user whose badges will be listed. Can be me to refer to caller.
|
|
|
798 |
* @param array $optParams Optional parameters.
|
|
|
799 |
* @return Google_BadgeList
|
|
|
800 |
*/
|
|
|
801 |
public function listBadges($userId, $optParams = array()) {
|
|
|
802 |
$params = array('userId' => $userId);
|
|
|
803 |
$params = array_merge($params, $optParams);
|
|
|
804 |
$data = $this->__call('list', array($params));
|
|
|
805 |
if ($this->useObjects()) {
|
|
|
806 |
return new Google_BadgeList($data);
|
|
|
807 |
} else {
|
|
|
808 |
return $data;
|
|
|
809 |
}
|
|
|
810 |
}
|
|
|
811 |
/**
|
|
|
812 |
* Retrieves a badge from a user. (badges.get)
|
|
|
813 |
*
|
|
|
814 |
* @param string $userId The ID of the user whose badges will be listed. Can be me to refer to caller.
|
|
|
815 |
* @param string $badgeId The ID of the badge that will be retrieved.
|
|
|
816 |
* @param array $optParams Optional parameters.
|
|
|
817 |
* @return Google_Badge
|
|
|
818 |
*/
|
|
|
819 |
public function get($userId, $badgeId, $optParams = array()) {
|
|
|
820 |
$params = array('userId' => $userId, 'badgeId' => $badgeId);
|
|
|
821 |
$params = array_merge($params, $optParams);
|
|
|
822 |
$data = $this->__call('get', array($params));
|
|
|
823 |
if ($this->useObjects()) {
|
|
|
824 |
return new Google_Badge($data);
|
|
|
825 |
} else {
|
|
|
826 |
return $data;
|
|
|
827 |
}
|
|
|
828 |
}
|
|
|
829 |
}
|
|
|
830 |
|
|
|
831 |
/**
|
|
|
832 |
* The "counters" collection of methods.
|
|
|
833 |
* Typical usage is:
|
|
|
834 |
* <code>
|
|
|
835 |
* $orkutService = new Google_OrkutService(...);
|
|
|
836 |
* $counters = $orkutService->counters;
|
|
|
837 |
* </code>
|
|
|
838 |
*/
|
|
|
839 |
class Google_CountersServiceResource extends Google_ServiceResource {
|
|
|
840 |
|
|
|
841 |
|
|
|
842 |
/**
|
|
|
843 |
* Retrieves the counters of a user. (counters.list)
|
|
|
844 |
*
|
|
|
845 |
* @param string $userId The ID of the user whose counters will be listed. Can be me to refer to caller.
|
|
|
846 |
* @param array $optParams Optional parameters.
|
|
|
847 |
* @return Google_Counters
|
|
|
848 |
*/
|
|
|
849 |
public function listCounters($userId, $optParams = array()) {
|
|
|
850 |
$params = array('userId' => $userId);
|
|
|
851 |
$params = array_merge($params, $optParams);
|
|
|
852 |
$data = $this->__call('list', array($params));
|
|
|
853 |
if ($this->useObjects()) {
|
|
|
854 |
return new Google_Counters($data);
|
|
|
855 |
} else {
|
|
|
856 |
return $data;
|
|
|
857 |
}
|
|
|
858 |
}
|
|
|
859 |
}
|
|
|
860 |
|
|
|
861 |
/**
|
|
|
862 |
* Service definition for Google_Orkut (v2).
|
|
|
863 |
*
|
|
|
864 |
* <p>
|
|
|
865 |
* Lets you manage activities, comments and badges in Orkut. More stuff coming in time.
|
|
|
866 |
* </p>
|
|
|
867 |
*
|
|
|
868 |
* <p>
|
|
|
869 |
* For more information about this service, see the
|
|
|
870 |
* <a href="http://code.google.com/apis/orkut/v2/reference.html" target="_blank">API Documentation</a>
|
|
|
871 |
* </p>
|
|
|
872 |
*
|
|
|
873 |
* @author Google, Inc.
|
|
|
874 |
*/
|
|
|
875 |
class Google_OrkutService extends Google_Service {
|
|
|
876 |
public $communityMembers;
|
|
|
877 |
public $activities;
|
|
|
878 |
public $communityPollComments;
|
|
|
879 |
public $communityPolls;
|
|
|
880 |
public $communityMessages;
|
|
|
881 |
public $communityTopics;
|
|
|
882 |
public $comments;
|
|
|
883 |
public $acl;
|
|
|
884 |
public $communityRelated;
|
|
|
885 |
public $scraps;
|
|
|
886 |
public $communityPollVotes;
|
|
|
887 |
public $communities;
|
|
|
888 |
public $communityFollow;
|
|
|
889 |
public $activityVisibility;
|
|
|
890 |
public $badges;
|
|
|
891 |
public $counters;
|
|
|
892 |
/**
|
|
|
893 |
* Constructs the internal representation of the Orkut service.
|
|
|
894 |
*
|
|
|
895 |
* @param Google_Client $client
|
|
|
896 |
*/
|
|
|
897 |
public function __construct(Google_Client $client) {
|
|
|
898 |
$this->servicePath = 'orkut/v2/';
|
|
|
899 |
$this->version = 'v2';
|
|
|
900 |
$this->serviceName = 'orkut';
|
|
|
901 |
|
|
|
902 |
$client->addService($this->serviceName, $this->version);
|
|
|
903 |
$this->communityMembers = new Google_CommunityMembersServiceResource($this, $this->serviceName, 'communityMembers', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.communityMembers.insert", "httpMethod": "POST", "path": "communities/{communityId}/members/{userId}", "response": {"$ref": "CommunityMembers"}}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityMembers.get", "httpMethod": "GET", "path": "communities/{communityId}/members/{userId}", "response": {"$ref": "CommunityMembers"}}, "list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "friendsOnly": {"type": "boolean", "location": "query"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "uint32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityMembers.list", "httpMethod": "GET", "path": "communities/{communityId}/members", "response": {"$ref": "CommunityMembersList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "communities/{communityId}/members/{userId}", "id": "orkut.communityMembers.delete", "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "userId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
904 |
$this->activities = new Google_ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"location": "query", "minimum": "1", "type": "integer", "maximum": "100", "format": "uint32"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "collection": {"required": true, "type": "string", "location": "path", "enum": ["all", "scraps", "stream"]}}, "id": "orkut.activities.list", "httpMethod": "GET", "path": "people/{userId}/activities/{collection}", "response": {"$ref": "ActivityList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "activities/{activityId}", "id": "orkut.activities.delete", "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
905 |
$this->communityPollComments = new Google_CommunityPollCommentsServiceResource($this, $this->serviceName, 'communityPollComments', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "pollId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "CommunityPollComment"}, "response": {"$ref": "CommunityPollComment"}, "httpMethod": "POST", "path": "communities/{communityId}/polls/{pollId}/comments", "id": "orkut.communityPollComments.insert"}, "list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"pollId": {"required": true, "type": "string", "location": "path"}, "pageToken": {"type": "string", "location": "query"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "uint32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityPollComments.list", "httpMethod": "GET", "path": "communities/{communityId}/polls/{pollId}/comments", "response": {"$ref": "CommunityPollCommentList"}}}}', true));
|
|
|
906 |
$this->communityPolls = new Google_CommunityPollsServiceResource($this, $this->serviceName, 'communityPolls', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "uint32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityPolls.list", "httpMethod": "GET", "path": "communities/{communityId}/polls", "response": {"$ref": "CommunityPollList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "pollId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityPolls.get", "httpMethod": "GET", "path": "communities/{communityId}/polls/{pollId}", "response": {"$ref": "CommunityPoll"}}}}', true));
|
|
|
907 |
$this->communityMessages = new Google_CommunityMessagesServiceResource($this, $this->serviceName, 'communityMessages', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"topicId": {"required": true, "type": "string", "location": "path", "format": "int64"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "CommunityMessage"}, "response": {"$ref": "CommunityMessage"}, "httpMethod": "POST", "path": "communities/{communityId}/topics/{topicId}/messages", "id": "orkut.communityMessages.insert"}, "list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "maxResults": {"location": "query", "minimum": "1", "type": "integer", "maximum": "100", "format": "uint32"}, "hl": {"type": "string", "location": "query"}, "topicId": {"required": true, "type": "string", "location": "path", "format": "int64"}}, "id": "orkut.communityMessages.list", "httpMethod": "GET", "path": "communities/{communityId}/topics/{topicId}/messages", "response": {"$ref": "CommunityMessageList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "communities/{communityId}/topics/{topicId}/messages/{messageId}", "id": "orkut.communityMessages.delete", "parameters": {"topicId": {"required": true, "type": "string", "location": "path", "format": "int64"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "messageId": {"required": true, "type": "string", "location": "path", "format": "int64"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
908 |
$this->communityTopics = new Google_CommunityTopicsServiceResource($this, $this->serviceName, 'communityTopics', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"isShout": {"type": "boolean", "location": "query"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "CommunityTopic"}, "response": {"$ref": "CommunityTopic"}, "httpMethod": "POST", "path": "communities/{communityId}/topics", "id": "orkut.communityTopics.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"topicId": {"required": true, "type": "string", "location": "path", "format": "int64"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityTopics.get", "httpMethod": "GET", "path": "communities/{communityId}/topics/{topicId}", "response": {"$ref": "CommunityTopic"}}, "list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "maxResults": {"location": "query", "minimum": "1", "type": "integer", "maximum": "100", "format": "uint32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityTopics.list", "httpMethod": "GET", "path": "communities/{communityId}/topics", "response": {"$ref": "CommunityTopicList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "communities/{communityId}/topics/{topicId}", "id": "orkut.communityTopics.delete", "parameters": {"topicId": {"required": true, "type": "string", "location": "path", "format": "int64"}, "communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
909 |
$this->comments = new Google_CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Comment"}, "response": {"$ref": "Comment"}, "httpMethod": "POST", "path": "activities/{activityId}/comments", "id": "orkut.comments.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.comments.get", "httpMethod": "GET", "path": "comments/{commentId}", "response": {"$ref": "Comment"}}, "list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"orderBy": {"default": "DESCENDING_SORT", "enum": ["ascending", "descending"], "type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "activityId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "uint32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.comments.list", "httpMethod": "GET", "path": "activities/{activityId}/comments", "response": {"$ref": "CommentList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "comments/{commentId}", "id": "orkut.comments.delete", "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
910 |
$this->acl = new Google_AclServiceResource($this, $this->serviceName, 'acl', json_decode('{"methods": {"delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "activities/{activityId}/acl/{userId}", "id": "orkut.acl.delete", "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
911 |
$this->communityRelated = new Google_CommunityRelatedServiceResource($this, $this->serviceName, 'communityRelated', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communityRelated.list", "httpMethod": "GET", "path": "communities/{communityId}/related", "response": {"$ref": "CommunityList"}}}}', true));
|
|
|
912 |
$this->scraps = new Google_ScrapsServiceResource($this, $this->serviceName, 'scraps', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "request": {"$ref": "Activity"}, "response": {"$ref": "Activity"}, "httpMethod": "POST", "path": "activities/scraps", "id": "orkut.scraps.insert"}}}', true));
|
|
|
913 |
$this->communityPollVotes = new Google_CommunityPollVotesServiceResource($this, $this->serviceName, 'communityPollVotes', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "pollId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "CommunityPollVote"}, "response": {"$ref": "CommunityPollVote"}, "httpMethod": "POST", "path": "communities/{communityId}/polls/{pollId}/votes", "id": "orkut.communityPollVotes.insert"}}}', true));
|
|
|
914 |
$this->communities = new Google_CommunitiesServiceResource($this, $this->serviceName, 'communities', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"orderBy": {"enum": ["id", "ranked"], "type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "uint32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communities.list", "httpMethod": "GET", "path": "people/{userId}/communities", "response": {"$ref": "CommunityList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.communities.get", "httpMethod": "GET", "path": "communities/{communityId}", "response": {"$ref": "Community"}}}}', true));
|
|
|
915 |
$this->communityFollow = new Google_CommunityFollowServiceResource($this, $this->serviceName, 'communityFollow', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.communityFollow.insert", "httpMethod": "POST", "path": "communities/{communityId}/followers/{userId}", "response": {"$ref": "CommunityMembers"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "path": "communities/{communityId}/followers/{userId}", "id": "orkut.communityFollow.delete", "parameters": {"communityId": {"required": true, "type": "integer", "location": "path", "format": "int32"}, "userId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
|
|
|
916 |
$this->activityVisibility = new Google_ActivityVisibilityServiceResource($this, $this->serviceName, 'activityVisibility', json_decode('{"methods": {"patch": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Visibility"}, "response": {"$ref": "Visibility"}, "httpMethod": "PATCH", "path": "activities/{activityId}/visibility", "id": "orkut.activityVisibility.patch"}, "update": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Visibility"}, "response": {"$ref": "Visibility"}, "httpMethod": "PUT", "path": "activities/{activityId}/visibility", "id": "orkut.activityVisibility.update"}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.activityVisibility.get", "httpMethod": "GET", "path": "activities/{activityId}/visibility", "response": {"$ref": "Visibility"}}}}', true));
|
|
|
917 |
$this->badges = new Google_BadgesServiceResource($this, $this->serviceName, 'badges', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.badges.list", "httpMethod": "GET", "path": "people/{userId}/badges", "response": {"$ref": "BadgeList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "badgeId": {"required": true, "type": "string", "location": "path", "format": "int64"}}, "id": "orkut.badges.get", "httpMethod": "GET", "path": "people/{userId}/badges/{badgeId}", "response": {"$ref": "Badge"}}}}', true));
|
|
|
918 |
$this->counters = new Google_CountersServiceResource($this, $this->serviceName, 'counters', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.counters.list", "httpMethod": "GET", "path": "people/{userId}/counters", "response": {"$ref": "Counters"}}}}', true));
|
|
|
919 |
|
|
|
920 |
}
|
|
|
921 |
}
|
|
|
922 |
|
|
|
923 |
class Google_Acl extends Google_Model {
|
|
|
924 |
protected $__itemsType = 'Google_AclItems';
|
|
|
925 |
protected $__itemsDataType = 'array';
|
|
|
926 |
public $items;
|
|
|
927 |
public $kind;
|
|
|
928 |
public $description;
|
|
|
929 |
public $totalParticipants;
|
|
|
930 |
public function setItems(/* array(Google_AclItems) */ $items) {
|
|
|
931 |
$this->assertIsArray($items, 'Google_AclItems', __METHOD__);
|
|
|
932 |
$this->items = $items;
|
|
|
933 |
}
|
|
|
934 |
public function getItems() {
|
|
|
935 |
return $this->items;
|
|
|
936 |
}
|
|
|
937 |
public function setKind($kind) {
|
|
|
938 |
$this->kind = $kind;
|
|
|
939 |
}
|
|
|
940 |
public function getKind() {
|
|
|
941 |
return $this->kind;
|
|
|
942 |
}
|
|
|
943 |
public function setDescription($description) {
|
|
|
944 |
$this->description = $description;
|
|
|
945 |
}
|
|
|
946 |
public function getDescription() {
|
|
|
947 |
return $this->description;
|
|
|
948 |
}
|
|
|
949 |
public function setTotalParticipants($totalParticipants) {
|
|
|
950 |
$this->totalParticipants = $totalParticipants;
|
|
|
951 |
}
|
|
|
952 |
public function getTotalParticipants() {
|
|
|
953 |
return $this->totalParticipants;
|
|
|
954 |
}
|
|
|
955 |
}
|
|
|
956 |
|
|
|
957 |
class Google_AclItems extends Google_Model {
|
|
|
958 |
public $type;
|
|
|
959 |
public $id;
|
|
|
960 |
public function setType($type) {
|
|
|
961 |
$this->type = $type;
|
|
|
962 |
}
|
|
|
963 |
public function getType() {
|
|
|
964 |
return $this->type;
|
|
|
965 |
}
|
|
|
966 |
public function setId($id) {
|
|
|
967 |
$this->id = $id;
|
|
|
968 |
}
|
|
|
969 |
public function getId() {
|
|
|
970 |
return $this->id;
|
|
|
971 |
}
|
|
|
972 |
}
|
|
|
973 |
|
|
|
974 |
class Google_Activity extends Google_Model {
|
|
|
975 |
public $kind;
|
|
|
976 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
977 |
protected $__linksDataType = 'array';
|
|
|
978 |
public $links;
|
|
|
979 |
public $title;
|
|
|
980 |
protected $__objectType = 'Google_ActivityObject';
|
|
|
981 |
protected $__objectDataType = '';
|
|
|
982 |
public $object;
|
|
|
983 |
public $updated;
|
|
|
984 |
protected $__actorType = 'Google_OrkutAuthorResource';
|
|
|
985 |
protected $__actorDataType = '';
|
|
|
986 |
public $actor;
|
|
|
987 |
protected $__accessType = 'Google_Acl';
|
|
|
988 |
protected $__accessDataType = '';
|
|
|
989 |
public $access;
|
|
|
990 |
public $verb;
|
|
|
991 |
public $published;
|
|
|
992 |
public $id;
|
|
|
993 |
public function setKind($kind) {
|
|
|
994 |
$this->kind = $kind;
|
|
|
995 |
}
|
|
|
996 |
public function getKind() {
|
|
|
997 |
return $this->kind;
|
|
|
998 |
}
|
|
|
999 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
1000 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
1001 |
$this->links = $links;
|
|
|
1002 |
}
|
|
|
1003 |
public function getLinks() {
|
|
|
1004 |
return $this->links;
|
|
|
1005 |
}
|
|
|
1006 |
public function setTitle($title) {
|
|
|
1007 |
$this->title = $title;
|
|
|
1008 |
}
|
|
|
1009 |
public function getTitle() {
|
|
|
1010 |
return $this->title;
|
|
|
1011 |
}
|
|
|
1012 |
public function setObject(Google_ActivityObject $object) {
|
|
|
1013 |
$this->object = $object;
|
|
|
1014 |
}
|
|
|
1015 |
public function getObject() {
|
|
|
1016 |
return $this->object;
|
|
|
1017 |
}
|
|
|
1018 |
public function setUpdated($updated) {
|
|
|
1019 |
$this->updated = $updated;
|
|
|
1020 |
}
|
|
|
1021 |
public function getUpdated() {
|
|
|
1022 |
return $this->updated;
|
|
|
1023 |
}
|
|
|
1024 |
public function setActor(Google_OrkutAuthorResource $actor) {
|
|
|
1025 |
$this->actor = $actor;
|
|
|
1026 |
}
|
|
|
1027 |
public function getActor() {
|
|
|
1028 |
return $this->actor;
|
|
|
1029 |
}
|
|
|
1030 |
public function setAccess(Google_Acl $access) {
|
|
|
1031 |
$this->access = $access;
|
|
|
1032 |
}
|
|
|
1033 |
public function getAccess() {
|
|
|
1034 |
return $this->access;
|
|
|
1035 |
}
|
|
|
1036 |
public function setVerb($verb) {
|
|
|
1037 |
$this->verb = $verb;
|
|
|
1038 |
}
|
|
|
1039 |
public function getVerb() {
|
|
|
1040 |
return $this->verb;
|
|
|
1041 |
}
|
|
|
1042 |
public function setPublished($published) {
|
|
|
1043 |
$this->published = $published;
|
|
|
1044 |
}
|
|
|
1045 |
public function getPublished() {
|
|
|
1046 |
return $this->published;
|
|
|
1047 |
}
|
|
|
1048 |
public function setId($id) {
|
|
|
1049 |
$this->id = $id;
|
|
|
1050 |
}
|
|
|
1051 |
public function getId() {
|
|
|
1052 |
return $this->id;
|
|
|
1053 |
}
|
|
|
1054 |
}
|
|
|
1055 |
|
|
|
1056 |
class Google_ActivityList extends Google_Model {
|
|
|
1057 |
public $nextPageToken;
|
|
|
1058 |
protected $__itemsType = 'Google_Activity';
|
|
|
1059 |
protected $__itemsDataType = 'array';
|
|
|
1060 |
public $items;
|
|
|
1061 |
public $kind;
|
|
|
1062 |
public function setNextPageToken($nextPageToken) {
|
|
|
1063 |
$this->nextPageToken = $nextPageToken;
|
|
|
1064 |
}
|
|
|
1065 |
public function getNextPageToken() {
|
|
|
1066 |
return $this->nextPageToken;
|
|
|
1067 |
}
|
|
|
1068 |
public function setItems(/* array(Google_Activity) */ $items) {
|
|
|
1069 |
$this->assertIsArray($items, 'Google_Activity', __METHOD__);
|
|
|
1070 |
$this->items = $items;
|
|
|
1071 |
}
|
|
|
1072 |
public function getItems() {
|
|
|
1073 |
return $this->items;
|
|
|
1074 |
}
|
|
|
1075 |
public function setKind($kind) {
|
|
|
1076 |
$this->kind = $kind;
|
|
|
1077 |
}
|
|
|
1078 |
public function getKind() {
|
|
|
1079 |
return $this->kind;
|
|
|
1080 |
}
|
|
|
1081 |
}
|
|
|
1082 |
|
|
|
1083 |
class Google_ActivityObject extends Google_Model {
|
|
|
1084 |
public $content;
|
|
|
1085 |
protected $__itemsType = 'Google_OrkutActivityobjectsResource';
|
|
|
1086 |
protected $__itemsDataType = 'array';
|
|
|
1087 |
public $items;
|
|
|
1088 |
protected $__repliesType = 'Google_ActivityObjectReplies';
|
|
|
1089 |
protected $__repliesDataType = '';
|
|
|
1090 |
public $replies;
|
|
|
1091 |
public $objectType;
|
|
|
1092 |
public function setContent($content) {
|
|
|
1093 |
$this->content = $content;
|
|
|
1094 |
}
|
|
|
1095 |
public function getContent() {
|
|
|
1096 |
return $this->content;
|
|
|
1097 |
}
|
|
|
1098 |
public function setItems(/* array(Google_OrkutActivityobjectsResource) */ $items) {
|
|
|
1099 |
$this->assertIsArray($items, 'Google_OrkutActivityobjectsResource', __METHOD__);
|
|
|
1100 |
$this->items = $items;
|
|
|
1101 |
}
|
|
|
1102 |
public function getItems() {
|
|
|
1103 |
return $this->items;
|
|
|
1104 |
}
|
|
|
1105 |
public function setReplies(Google_ActivityObjectReplies $replies) {
|
|
|
1106 |
$this->replies = $replies;
|
|
|
1107 |
}
|
|
|
1108 |
public function getReplies() {
|
|
|
1109 |
return $this->replies;
|
|
|
1110 |
}
|
|
|
1111 |
public function setObjectType($objectType) {
|
|
|
1112 |
$this->objectType = $objectType;
|
|
|
1113 |
}
|
|
|
1114 |
public function getObjectType() {
|
|
|
1115 |
return $this->objectType;
|
|
|
1116 |
}
|
|
|
1117 |
}
|
|
|
1118 |
|
|
|
1119 |
class Google_ActivityObjectReplies extends Google_Model {
|
|
|
1120 |
public $totalItems;
|
|
|
1121 |
protected $__itemsType = 'Google_Comment';
|
|
|
1122 |
protected $__itemsDataType = 'array';
|
|
|
1123 |
public $items;
|
|
|
1124 |
public $url;
|
|
|
1125 |
public function setTotalItems($totalItems) {
|
|
|
1126 |
$this->totalItems = $totalItems;
|
|
|
1127 |
}
|
|
|
1128 |
public function getTotalItems() {
|
|
|
1129 |
return $this->totalItems;
|
|
|
1130 |
}
|
|
|
1131 |
public function setItems(/* array(Google_Comment) */ $items) {
|
|
|
1132 |
$this->assertIsArray($items, 'Google_Comment', __METHOD__);
|
|
|
1133 |
$this->items = $items;
|
|
|
1134 |
}
|
|
|
1135 |
public function getItems() {
|
|
|
1136 |
return $this->items;
|
|
|
1137 |
}
|
|
|
1138 |
public function setUrl($url) {
|
|
|
1139 |
$this->url = $url;
|
|
|
1140 |
}
|
|
|
1141 |
public function getUrl() {
|
|
|
1142 |
return $this->url;
|
|
|
1143 |
}
|
|
|
1144 |
}
|
|
|
1145 |
|
|
|
1146 |
class Google_Badge extends Google_Model {
|
|
|
1147 |
public $badgeSmallLogo;
|
|
|
1148 |
public $kind;
|
|
|
1149 |
public $description;
|
|
|
1150 |
public $sponsorLogo;
|
|
|
1151 |
public $sponsorName;
|
|
|
1152 |
public $badgeLargeLogo;
|
|
|
1153 |
public $caption;
|
|
|
1154 |
public $sponsorUrl;
|
|
|
1155 |
public $id;
|
|
|
1156 |
public function setBadgeSmallLogo($badgeSmallLogo) {
|
|
|
1157 |
$this->badgeSmallLogo = $badgeSmallLogo;
|
|
|
1158 |
}
|
|
|
1159 |
public function getBadgeSmallLogo() {
|
|
|
1160 |
return $this->badgeSmallLogo;
|
|
|
1161 |
}
|
|
|
1162 |
public function setKind($kind) {
|
|
|
1163 |
$this->kind = $kind;
|
|
|
1164 |
}
|
|
|
1165 |
public function getKind() {
|
|
|
1166 |
return $this->kind;
|
|
|
1167 |
}
|
|
|
1168 |
public function setDescription($description) {
|
|
|
1169 |
$this->description = $description;
|
|
|
1170 |
}
|
|
|
1171 |
public function getDescription() {
|
|
|
1172 |
return $this->description;
|
|
|
1173 |
}
|
|
|
1174 |
public function setSponsorLogo($sponsorLogo) {
|
|
|
1175 |
$this->sponsorLogo = $sponsorLogo;
|
|
|
1176 |
}
|
|
|
1177 |
public function getSponsorLogo() {
|
|
|
1178 |
return $this->sponsorLogo;
|
|
|
1179 |
}
|
|
|
1180 |
public function setSponsorName($sponsorName) {
|
|
|
1181 |
$this->sponsorName = $sponsorName;
|
|
|
1182 |
}
|
|
|
1183 |
public function getSponsorName() {
|
|
|
1184 |
return $this->sponsorName;
|
|
|
1185 |
}
|
|
|
1186 |
public function setBadgeLargeLogo($badgeLargeLogo) {
|
|
|
1187 |
$this->badgeLargeLogo = $badgeLargeLogo;
|
|
|
1188 |
}
|
|
|
1189 |
public function getBadgeLargeLogo() {
|
|
|
1190 |
return $this->badgeLargeLogo;
|
|
|
1191 |
}
|
|
|
1192 |
public function setCaption($caption) {
|
|
|
1193 |
$this->caption = $caption;
|
|
|
1194 |
}
|
|
|
1195 |
public function getCaption() {
|
|
|
1196 |
return $this->caption;
|
|
|
1197 |
}
|
|
|
1198 |
public function setSponsorUrl($sponsorUrl) {
|
|
|
1199 |
$this->sponsorUrl = $sponsorUrl;
|
|
|
1200 |
}
|
|
|
1201 |
public function getSponsorUrl() {
|
|
|
1202 |
return $this->sponsorUrl;
|
|
|
1203 |
}
|
|
|
1204 |
public function setId($id) {
|
|
|
1205 |
$this->id = $id;
|
|
|
1206 |
}
|
|
|
1207 |
public function getId() {
|
|
|
1208 |
return $this->id;
|
|
|
1209 |
}
|
|
|
1210 |
}
|
|
|
1211 |
|
|
|
1212 |
class Google_BadgeList extends Google_Model {
|
|
|
1213 |
protected $__itemsType = 'Google_Badge';
|
|
|
1214 |
protected $__itemsDataType = 'array';
|
|
|
1215 |
public $items;
|
|
|
1216 |
public $kind;
|
|
|
1217 |
public function setItems(/* array(Google_Badge) */ $items) {
|
|
|
1218 |
$this->assertIsArray($items, 'Google_Badge', __METHOD__);
|
|
|
1219 |
$this->items = $items;
|
|
|
1220 |
}
|
|
|
1221 |
public function getItems() {
|
|
|
1222 |
return $this->items;
|
|
|
1223 |
}
|
|
|
1224 |
public function setKind($kind) {
|
|
|
1225 |
$this->kind = $kind;
|
|
|
1226 |
}
|
|
|
1227 |
public function getKind() {
|
|
|
1228 |
return $this->kind;
|
|
|
1229 |
}
|
|
|
1230 |
}
|
|
|
1231 |
|
|
|
1232 |
class Google_Comment extends Google_Model {
|
|
|
1233 |
protected $__inReplyToType = 'Google_CommentInReplyTo';
|
|
|
1234 |
protected $__inReplyToDataType = '';
|
|
|
1235 |
public $inReplyTo;
|
|
|
1236 |
public $kind;
|
|
|
1237 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
1238 |
protected $__linksDataType = 'array';
|
|
|
1239 |
public $links;
|
|
|
1240 |
protected $__actorType = 'Google_OrkutAuthorResource';
|
|
|
1241 |
protected $__actorDataType = '';
|
|
|
1242 |
public $actor;
|
|
|
1243 |
public $content;
|
|
|
1244 |
public $published;
|
|
|
1245 |
public $id;
|
|
|
1246 |
public function setInReplyTo(Google_CommentInReplyTo $inReplyTo) {
|
|
|
1247 |
$this->inReplyTo = $inReplyTo;
|
|
|
1248 |
}
|
|
|
1249 |
public function getInReplyTo() {
|
|
|
1250 |
return $this->inReplyTo;
|
|
|
1251 |
}
|
|
|
1252 |
public function setKind($kind) {
|
|
|
1253 |
$this->kind = $kind;
|
|
|
1254 |
}
|
|
|
1255 |
public function getKind() {
|
|
|
1256 |
return $this->kind;
|
|
|
1257 |
}
|
|
|
1258 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
1259 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
1260 |
$this->links = $links;
|
|
|
1261 |
}
|
|
|
1262 |
public function getLinks() {
|
|
|
1263 |
return $this->links;
|
|
|
1264 |
}
|
|
|
1265 |
public function setActor(Google_OrkutAuthorResource $actor) {
|
|
|
1266 |
$this->actor = $actor;
|
|
|
1267 |
}
|
|
|
1268 |
public function getActor() {
|
|
|
1269 |
return $this->actor;
|
|
|
1270 |
}
|
|
|
1271 |
public function setContent($content) {
|
|
|
1272 |
$this->content = $content;
|
|
|
1273 |
}
|
|
|
1274 |
public function getContent() {
|
|
|
1275 |
return $this->content;
|
|
|
1276 |
}
|
|
|
1277 |
public function setPublished($published) {
|
|
|
1278 |
$this->published = $published;
|
|
|
1279 |
}
|
|
|
1280 |
public function getPublished() {
|
|
|
1281 |
return $this->published;
|
|
|
1282 |
}
|
|
|
1283 |
public function setId($id) {
|
|
|
1284 |
$this->id = $id;
|
|
|
1285 |
}
|
|
|
1286 |
public function getId() {
|
|
|
1287 |
return $this->id;
|
|
|
1288 |
}
|
|
|
1289 |
}
|
|
|
1290 |
|
|
|
1291 |
class Google_CommentInReplyTo extends Google_Model {
|
|
|
1292 |
public $type;
|
|
|
1293 |
public $href;
|
|
|
1294 |
public $ref;
|
|
|
1295 |
public $rel;
|
|
|
1296 |
public function setType($type) {
|
|
|
1297 |
$this->type = $type;
|
|
|
1298 |
}
|
|
|
1299 |
public function getType() {
|
|
|
1300 |
return $this->type;
|
|
|
1301 |
}
|
|
|
1302 |
public function setHref($href) {
|
|
|
1303 |
$this->href = $href;
|
|
|
1304 |
}
|
|
|
1305 |
public function getHref() {
|
|
|
1306 |
return $this->href;
|
|
|
1307 |
}
|
|
|
1308 |
public function setRef($ref) {
|
|
|
1309 |
$this->ref = $ref;
|
|
|
1310 |
}
|
|
|
1311 |
public function getRef() {
|
|
|
1312 |
return $this->ref;
|
|
|
1313 |
}
|
|
|
1314 |
public function setRel($rel) {
|
|
|
1315 |
$this->rel = $rel;
|
|
|
1316 |
}
|
|
|
1317 |
public function getRel() {
|
|
|
1318 |
return $this->rel;
|
|
|
1319 |
}
|
|
|
1320 |
}
|
|
|
1321 |
|
|
|
1322 |
class Google_CommentList extends Google_Model {
|
|
|
1323 |
public $nextPageToken;
|
|
|
1324 |
protected $__itemsType = 'Google_Comment';
|
|
|
1325 |
protected $__itemsDataType = 'array';
|
|
|
1326 |
public $items;
|
|
|
1327 |
public $kind;
|
|
|
1328 |
public $previousPageToken;
|
|
|
1329 |
public function setNextPageToken($nextPageToken) {
|
|
|
1330 |
$this->nextPageToken = $nextPageToken;
|
|
|
1331 |
}
|
|
|
1332 |
public function getNextPageToken() {
|
|
|
1333 |
return $this->nextPageToken;
|
|
|
1334 |
}
|
|
|
1335 |
public function setItems(/* array(Google_Comment) */ $items) {
|
|
|
1336 |
$this->assertIsArray($items, 'Google_Comment', __METHOD__);
|
|
|
1337 |
$this->items = $items;
|
|
|
1338 |
}
|
|
|
1339 |
public function getItems() {
|
|
|
1340 |
return $this->items;
|
|
|
1341 |
}
|
|
|
1342 |
public function setKind($kind) {
|
|
|
1343 |
$this->kind = $kind;
|
|
|
1344 |
}
|
|
|
1345 |
public function getKind() {
|
|
|
1346 |
return $this->kind;
|
|
|
1347 |
}
|
|
|
1348 |
public function setPreviousPageToken($previousPageToken) {
|
|
|
1349 |
$this->previousPageToken = $previousPageToken;
|
|
|
1350 |
}
|
|
|
1351 |
public function getPreviousPageToken() {
|
|
|
1352 |
return $this->previousPageToken;
|
|
|
1353 |
}
|
|
|
1354 |
}
|
|
|
1355 |
|
|
|
1356 |
class Google_Community extends Google_Model {
|
|
|
1357 |
public $category;
|
|
|
1358 |
public $kind;
|
|
|
1359 |
public $member_count;
|
|
|
1360 |
public $description;
|
|
|
1361 |
public $language;
|
|
|
1362 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
1363 |
protected $__linksDataType = 'array';
|
|
|
1364 |
public $links;
|
|
|
1365 |
public $creation_date;
|
|
|
1366 |
protected $__ownerType = 'Google_OrkutAuthorResource';
|
|
|
1367 |
protected $__ownerDataType = '';
|
|
|
1368 |
public $owner;
|
|
|
1369 |
protected $__moderatorsType = 'Google_OrkutAuthorResource';
|
|
|
1370 |
protected $__moderatorsDataType = 'array';
|
|
|
1371 |
public $moderators;
|
|
|
1372 |
public $location;
|
|
|
1373 |
protected $__co_ownersType = 'Google_OrkutAuthorResource';
|
|
|
1374 |
protected $__co_ownersDataType = 'array';
|
|
|
1375 |
public $co_owners;
|
|
|
1376 |
public $photo_url;
|
|
|
1377 |
public $id;
|
|
|
1378 |
public $name;
|
|
|
1379 |
public function setCategory($category) {
|
|
|
1380 |
$this->category = $category;
|
|
|
1381 |
}
|
|
|
1382 |
public function getCategory() {
|
|
|
1383 |
return $this->category;
|
|
|
1384 |
}
|
|
|
1385 |
public function setKind($kind) {
|
|
|
1386 |
$this->kind = $kind;
|
|
|
1387 |
}
|
|
|
1388 |
public function getKind() {
|
|
|
1389 |
return $this->kind;
|
|
|
1390 |
}
|
|
|
1391 |
public function setMember_count($member_count) {
|
|
|
1392 |
$this->member_count = $member_count;
|
|
|
1393 |
}
|
|
|
1394 |
public function getMember_count() {
|
|
|
1395 |
return $this->member_count;
|
|
|
1396 |
}
|
|
|
1397 |
public function setDescription($description) {
|
|
|
1398 |
$this->description = $description;
|
|
|
1399 |
}
|
|
|
1400 |
public function getDescription() {
|
|
|
1401 |
return $this->description;
|
|
|
1402 |
}
|
|
|
1403 |
public function setLanguage($language) {
|
|
|
1404 |
$this->language = $language;
|
|
|
1405 |
}
|
|
|
1406 |
public function getLanguage() {
|
|
|
1407 |
return $this->language;
|
|
|
1408 |
}
|
|
|
1409 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
1410 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
1411 |
$this->links = $links;
|
|
|
1412 |
}
|
|
|
1413 |
public function getLinks() {
|
|
|
1414 |
return $this->links;
|
|
|
1415 |
}
|
|
|
1416 |
public function setCreation_date($creation_date) {
|
|
|
1417 |
$this->creation_date = $creation_date;
|
|
|
1418 |
}
|
|
|
1419 |
public function getCreation_date() {
|
|
|
1420 |
return $this->creation_date;
|
|
|
1421 |
}
|
|
|
1422 |
public function setOwner(Google_OrkutAuthorResource $owner) {
|
|
|
1423 |
$this->owner = $owner;
|
|
|
1424 |
}
|
|
|
1425 |
public function getOwner() {
|
|
|
1426 |
return $this->owner;
|
|
|
1427 |
}
|
|
|
1428 |
public function setModerators(/* array(Google_OrkutAuthorResource) */ $moderators) {
|
|
|
1429 |
$this->assertIsArray($moderators, 'Google_OrkutAuthorResource', __METHOD__);
|
|
|
1430 |
$this->moderators = $moderators;
|
|
|
1431 |
}
|
|
|
1432 |
public function getModerators() {
|
|
|
1433 |
return $this->moderators;
|
|
|
1434 |
}
|
|
|
1435 |
public function setLocation($location) {
|
|
|
1436 |
$this->location = $location;
|
|
|
1437 |
}
|
|
|
1438 |
public function getLocation() {
|
|
|
1439 |
return $this->location;
|
|
|
1440 |
}
|
|
|
1441 |
public function setCo_owners(/* array(Google_OrkutAuthorResource) */ $co_owners) {
|
|
|
1442 |
$this->assertIsArray($co_owners, 'Google_OrkutAuthorResource', __METHOD__);
|
|
|
1443 |
$this->co_owners = $co_owners;
|
|
|
1444 |
}
|
|
|
1445 |
public function getCo_owners() {
|
|
|
1446 |
return $this->co_owners;
|
|
|
1447 |
}
|
|
|
1448 |
public function setPhoto_url($photo_url) {
|
|
|
1449 |
$this->photo_url = $photo_url;
|
|
|
1450 |
}
|
|
|
1451 |
public function getPhoto_url() {
|
|
|
1452 |
return $this->photo_url;
|
|
|
1453 |
}
|
|
|
1454 |
public function setId($id) {
|
|
|
1455 |
$this->id = $id;
|
|
|
1456 |
}
|
|
|
1457 |
public function getId() {
|
|
|
1458 |
return $this->id;
|
|
|
1459 |
}
|
|
|
1460 |
public function setName($name) {
|
|
|
1461 |
$this->name = $name;
|
|
|
1462 |
}
|
|
|
1463 |
public function getName() {
|
|
|
1464 |
return $this->name;
|
|
|
1465 |
}
|
|
|
1466 |
}
|
|
|
1467 |
|
|
|
1468 |
class Google_CommunityList extends Google_Model {
|
|
|
1469 |
protected $__itemsType = 'Google_Community';
|
|
|
1470 |
protected $__itemsDataType = 'array';
|
|
|
1471 |
public $items;
|
|
|
1472 |
public $kind;
|
|
|
1473 |
public function setItems(/* array(Google_Community) */ $items) {
|
|
|
1474 |
$this->assertIsArray($items, 'Google_Community', __METHOD__);
|
|
|
1475 |
$this->items = $items;
|
|
|
1476 |
}
|
|
|
1477 |
public function getItems() {
|
|
|
1478 |
return $this->items;
|
|
|
1479 |
}
|
|
|
1480 |
public function setKind($kind) {
|
|
|
1481 |
$this->kind = $kind;
|
|
|
1482 |
}
|
|
|
1483 |
public function getKind() {
|
|
|
1484 |
return $this->kind;
|
|
|
1485 |
}
|
|
|
1486 |
}
|
|
|
1487 |
|
|
|
1488 |
class Google_CommunityMembers extends Google_Model {
|
|
|
1489 |
protected $__communityMembershipStatusType = 'Google_CommunityMembershipStatus';
|
|
|
1490 |
protected $__communityMembershipStatusDataType = '';
|
|
|
1491 |
public $communityMembershipStatus;
|
|
|
1492 |
protected $__personType = 'Google_OrkutActivitypersonResource';
|
|
|
1493 |
protected $__personDataType = '';
|
|
|
1494 |
public $person;
|
|
|
1495 |
public $kind;
|
|
|
1496 |
public function setCommunityMembershipStatus(Google_CommunityMembershipStatus $communityMembershipStatus) {
|
|
|
1497 |
$this->communityMembershipStatus = $communityMembershipStatus;
|
|
|
1498 |
}
|
|
|
1499 |
public function getCommunityMembershipStatus() {
|
|
|
1500 |
return $this->communityMembershipStatus;
|
|
|
1501 |
}
|
|
|
1502 |
public function setPerson(Google_OrkutActivitypersonResource $person) {
|
|
|
1503 |
$this->person = $person;
|
|
|
1504 |
}
|
|
|
1505 |
public function getPerson() {
|
|
|
1506 |
return $this->person;
|
|
|
1507 |
}
|
|
|
1508 |
public function setKind($kind) {
|
|
|
1509 |
$this->kind = $kind;
|
|
|
1510 |
}
|
|
|
1511 |
public function getKind() {
|
|
|
1512 |
return $this->kind;
|
|
|
1513 |
}
|
|
|
1514 |
}
|
|
|
1515 |
|
|
|
1516 |
class Google_CommunityMembersList extends Google_Model {
|
|
|
1517 |
public $nextPageToken;
|
|
|
1518 |
public $kind;
|
|
|
1519 |
protected $__itemsType = 'Google_CommunityMembers';
|
|
|
1520 |
protected $__itemsDataType = 'array';
|
|
|
1521 |
public $items;
|
|
|
1522 |
public $prevPageToken;
|
|
|
1523 |
public $lastPageToken;
|
|
|
1524 |
public $firstPageToken;
|
|
|
1525 |
public function setNextPageToken($nextPageToken) {
|
|
|
1526 |
$this->nextPageToken = $nextPageToken;
|
|
|
1527 |
}
|
|
|
1528 |
public function getNextPageToken() {
|
|
|
1529 |
return $this->nextPageToken;
|
|
|
1530 |
}
|
|
|
1531 |
public function setKind($kind) {
|
|
|
1532 |
$this->kind = $kind;
|
|
|
1533 |
}
|
|
|
1534 |
public function getKind() {
|
|
|
1535 |
return $this->kind;
|
|
|
1536 |
}
|
|
|
1537 |
public function setItems(/* array(Google_CommunityMembers) */ $items) {
|
|
|
1538 |
$this->assertIsArray($items, 'Google_CommunityMembers', __METHOD__);
|
|
|
1539 |
$this->items = $items;
|
|
|
1540 |
}
|
|
|
1541 |
public function getItems() {
|
|
|
1542 |
return $this->items;
|
|
|
1543 |
}
|
|
|
1544 |
public function setPrevPageToken($prevPageToken) {
|
|
|
1545 |
$this->prevPageToken = $prevPageToken;
|
|
|
1546 |
}
|
|
|
1547 |
public function getPrevPageToken() {
|
|
|
1548 |
return $this->prevPageToken;
|
|
|
1549 |
}
|
|
|
1550 |
public function setLastPageToken($lastPageToken) {
|
|
|
1551 |
$this->lastPageToken = $lastPageToken;
|
|
|
1552 |
}
|
|
|
1553 |
public function getLastPageToken() {
|
|
|
1554 |
return $this->lastPageToken;
|
|
|
1555 |
}
|
|
|
1556 |
public function setFirstPageToken($firstPageToken) {
|
|
|
1557 |
$this->firstPageToken = $firstPageToken;
|
|
|
1558 |
}
|
|
|
1559 |
public function getFirstPageToken() {
|
|
|
1560 |
return $this->firstPageToken;
|
|
|
1561 |
}
|
|
|
1562 |
}
|
|
|
1563 |
|
|
|
1564 |
class Google_CommunityMembershipStatus extends Google_Model {
|
|
|
1565 |
public $status;
|
|
|
1566 |
public $isFollowing;
|
|
|
1567 |
public $isRestoreAvailable;
|
|
|
1568 |
public $isModerator;
|
|
|
1569 |
public $kind;
|
|
|
1570 |
public $isCoOwner;
|
|
|
1571 |
public $canCreatePoll;
|
|
|
1572 |
public $canShout;
|
|
|
1573 |
public $isOwner;
|
|
|
1574 |
public $canCreateTopic;
|
|
|
1575 |
public $isTakebackAvailable;
|
|
|
1576 |
public function setStatus($status) {
|
|
|
1577 |
$this->status = $status;
|
|
|
1578 |
}
|
|
|
1579 |
public function getStatus() {
|
|
|
1580 |
return $this->status;
|
|
|
1581 |
}
|
|
|
1582 |
public function setIsFollowing($isFollowing) {
|
|
|
1583 |
$this->isFollowing = $isFollowing;
|
|
|
1584 |
}
|
|
|
1585 |
public function getIsFollowing() {
|
|
|
1586 |
return $this->isFollowing;
|
|
|
1587 |
}
|
|
|
1588 |
public function setIsRestoreAvailable($isRestoreAvailable) {
|
|
|
1589 |
$this->isRestoreAvailable = $isRestoreAvailable;
|
|
|
1590 |
}
|
|
|
1591 |
public function getIsRestoreAvailable() {
|
|
|
1592 |
return $this->isRestoreAvailable;
|
|
|
1593 |
}
|
|
|
1594 |
public function setIsModerator($isModerator) {
|
|
|
1595 |
$this->isModerator = $isModerator;
|
|
|
1596 |
}
|
|
|
1597 |
public function getIsModerator() {
|
|
|
1598 |
return $this->isModerator;
|
|
|
1599 |
}
|
|
|
1600 |
public function setKind($kind) {
|
|
|
1601 |
$this->kind = $kind;
|
|
|
1602 |
}
|
|
|
1603 |
public function getKind() {
|
|
|
1604 |
return $this->kind;
|
|
|
1605 |
}
|
|
|
1606 |
public function setIsCoOwner($isCoOwner) {
|
|
|
1607 |
$this->isCoOwner = $isCoOwner;
|
|
|
1608 |
}
|
|
|
1609 |
public function getIsCoOwner() {
|
|
|
1610 |
return $this->isCoOwner;
|
|
|
1611 |
}
|
|
|
1612 |
public function setCanCreatePoll($canCreatePoll) {
|
|
|
1613 |
$this->canCreatePoll = $canCreatePoll;
|
|
|
1614 |
}
|
|
|
1615 |
public function getCanCreatePoll() {
|
|
|
1616 |
return $this->canCreatePoll;
|
|
|
1617 |
}
|
|
|
1618 |
public function setCanShout($canShout) {
|
|
|
1619 |
$this->canShout = $canShout;
|
|
|
1620 |
}
|
|
|
1621 |
public function getCanShout() {
|
|
|
1622 |
return $this->canShout;
|
|
|
1623 |
}
|
|
|
1624 |
public function setIsOwner($isOwner) {
|
|
|
1625 |
$this->isOwner = $isOwner;
|
|
|
1626 |
}
|
|
|
1627 |
public function getIsOwner() {
|
|
|
1628 |
return $this->isOwner;
|
|
|
1629 |
}
|
|
|
1630 |
public function setCanCreateTopic($canCreateTopic) {
|
|
|
1631 |
$this->canCreateTopic = $canCreateTopic;
|
|
|
1632 |
}
|
|
|
1633 |
public function getCanCreateTopic() {
|
|
|
1634 |
return $this->canCreateTopic;
|
|
|
1635 |
}
|
|
|
1636 |
public function setIsTakebackAvailable($isTakebackAvailable) {
|
|
|
1637 |
$this->isTakebackAvailable = $isTakebackAvailable;
|
|
|
1638 |
}
|
|
|
1639 |
public function getIsTakebackAvailable() {
|
|
|
1640 |
return $this->isTakebackAvailable;
|
|
|
1641 |
}
|
|
|
1642 |
}
|
|
|
1643 |
|
|
|
1644 |
class Google_CommunityMessage extends Google_Model {
|
|
|
1645 |
public $body;
|
|
|
1646 |
public $kind;
|
|
|
1647 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
1648 |
protected $__linksDataType = 'array';
|
|
|
1649 |
public $links;
|
|
|
1650 |
protected $__authorType = 'Google_OrkutAuthorResource';
|
|
|
1651 |
protected $__authorDataType = '';
|
|
|
1652 |
public $author;
|
|
|
1653 |
public $id;
|
|
|
1654 |
public $addedDate;
|
|
|
1655 |
public $isSpam;
|
|
|
1656 |
public $subject;
|
|
|
1657 |
public function setBody($body) {
|
|
|
1658 |
$this->body = $body;
|
|
|
1659 |
}
|
|
|
1660 |
public function getBody() {
|
|
|
1661 |
return $this->body;
|
|
|
1662 |
}
|
|
|
1663 |
public function setKind($kind) {
|
|
|
1664 |
$this->kind = $kind;
|
|
|
1665 |
}
|
|
|
1666 |
public function getKind() {
|
|
|
1667 |
return $this->kind;
|
|
|
1668 |
}
|
|
|
1669 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
1670 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
1671 |
$this->links = $links;
|
|
|
1672 |
}
|
|
|
1673 |
public function getLinks() {
|
|
|
1674 |
return $this->links;
|
|
|
1675 |
}
|
|
|
1676 |
public function setAuthor(Google_OrkutAuthorResource $author) {
|
|
|
1677 |
$this->author = $author;
|
|
|
1678 |
}
|
|
|
1679 |
public function getAuthor() {
|
|
|
1680 |
return $this->author;
|
|
|
1681 |
}
|
|
|
1682 |
public function setId($id) {
|
|
|
1683 |
$this->id = $id;
|
|
|
1684 |
}
|
|
|
1685 |
public function getId() {
|
|
|
1686 |
return $this->id;
|
|
|
1687 |
}
|
|
|
1688 |
public function setAddedDate($addedDate) {
|
|
|
1689 |
$this->addedDate = $addedDate;
|
|
|
1690 |
}
|
|
|
1691 |
public function getAddedDate() {
|
|
|
1692 |
return $this->addedDate;
|
|
|
1693 |
}
|
|
|
1694 |
public function setIsSpam($isSpam) {
|
|
|
1695 |
$this->isSpam = $isSpam;
|
|
|
1696 |
}
|
|
|
1697 |
public function getIsSpam() {
|
|
|
1698 |
return $this->isSpam;
|
|
|
1699 |
}
|
|
|
1700 |
public function setSubject($subject) {
|
|
|
1701 |
$this->subject = $subject;
|
|
|
1702 |
}
|
|
|
1703 |
public function getSubject() {
|
|
|
1704 |
return $this->subject;
|
|
|
1705 |
}
|
|
|
1706 |
}
|
|
|
1707 |
|
|
|
1708 |
class Google_CommunityMessageList extends Google_Model {
|
|
|
1709 |
public $nextPageToken;
|
|
|
1710 |
public $kind;
|
|
|
1711 |
protected $__itemsType = 'Google_CommunityMessage';
|
|
|
1712 |
protected $__itemsDataType = 'array';
|
|
|
1713 |
public $items;
|
|
|
1714 |
public $prevPageToken;
|
|
|
1715 |
public $lastPageToken;
|
|
|
1716 |
public $firstPageToken;
|
|
|
1717 |
public function setNextPageToken($nextPageToken) {
|
|
|
1718 |
$this->nextPageToken = $nextPageToken;
|
|
|
1719 |
}
|
|
|
1720 |
public function getNextPageToken() {
|
|
|
1721 |
return $this->nextPageToken;
|
|
|
1722 |
}
|
|
|
1723 |
public function setKind($kind) {
|
|
|
1724 |
$this->kind = $kind;
|
|
|
1725 |
}
|
|
|
1726 |
public function getKind() {
|
|
|
1727 |
return $this->kind;
|
|
|
1728 |
}
|
|
|
1729 |
public function setItems(/* array(Google_CommunityMessage) */ $items) {
|
|
|
1730 |
$this->assertIsArray($items, 'Google_CommunityMessage', __METHOD__);
|
|
|
1731 |
$this->items = $items;
|
|
|
1732 |
}
|
|
|
1733 |
public function getItems() {
|
|
|
1734 |
return $this->items;
|
|
|
1735 |
}
|
|
|
1736 |
public function setPrevPageToken($prevPageToken) {
|
|
|
1737 |
$this->prevPageToken = $prevPageToken;
|
|
|
1738 |
}
|
|
|
1739 |
public function getPrevPageToken() {
|
|
|
1740 |
return $this->prevPageToken;
|
|
|
1741 |
}
|
|
|
1742 |
public function setLastPageToken($lastPageToken) {
|
|
|
1743 |
$this->lastPageToken = $lastPageToken;
|
|
|
1744 |
}
|
|
|
1745 |
public function getLastPageToken() {
|
|
|
1746 |
return $this->lastPageToken;
|
|
|
1747 |
}
|
|
|
1748 |
public function setFirstPageToken($firstPageToken) {
|
|
|
1749 |
$this->firstPageToken = $firstPageToken;
|
|
|
1750 |
}
|
|
|
1751 |
public function getFirstPageToken() {
|
|
|
1752 |
return $this->firstPageToken;
|
|
|
1753 |
}
|
|
|
1754 |
}
|
|
|
1755 |
|
|
|
1756 |
class Google_CommunityPoll extends Google_Model {
|
|
|
1757 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
1758 |
protected $__linksDataType = 'array';
|
|
|
1759 |
public $links;
|
|
|
1760 |
public $isMultipleAnswers;
|
|
|
1761 |
protected $__imageType = 'Google_CommunityPollImage';
|
|
|
1762 |
protected $__imageDataType = '';
|
|
|
1763 |
public $image;
|
|
|
1764 |
public $endingTime;
|
|
|
1765 |
public $isVotingAllowedForNonMembers;
|
|
|
1766 |
public $isSpam;
|
|
|
1767 |
public $totalNumberOfVotes;
|
|
|
1768 |
protected $__authorType = 'Google_OrkutAuthorResource';
|
|
|
1769 |
protected $__authorDataType = '';
|
|
|
1770 |
public $author;
|
|
|
1771 |
public $question;
|
|
|
1772 |
public $id;
|
|
|
1773 |
public $isRestricted;
|
|
|
1774 |
public $communityId;
|
|
|
1775 |
public $isUsersVotePublic;
|
|
|
1776 |
public $lastUpdate;
|
|
|
1777 |
public $description;
|
|
|
1778 |
public $votedOptions;
|
|
|
1779 |
public $isOpenForVoting;
|
|
|
1780 |
public $isClosed;
|
|
|
1781 |
public $hasVoted;
|
|
|
1782 |
public $kind;
|
|
|
1783 |
public $creationTime;
|
|
|
1784 |
protected $__optionsType = 'Google_OrkutCommunitypolloptionResource';
|
|
|
1785 |
protected $__optionsDataType = 'array';
|
|
|
1786 |
public $options;
|
|
|
1787 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
1788 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
1789 |
$this->links = $links;
|
|
|
1790 |
}
|
|
|
1791 |
public function getLinks() {
|
|
|
1792 |
return $this->links;
|
|
|
1793 |
}
|
|
|
1794 |
public function setIsMultipleAnswers($isMultipleAnswers) {
|
|
|
1795 |
$this->isMultipleAnswers = $isMultipleAnswers;
|
|
|
1796 |
}
|
|
|
1797 |
public function getIsMultipleAnswers() {
|
|
|
1798 |
return $this->isMultipleAnswers;
|
|
|
1799 |
}
|
|
|
1800 |
public function setImage(Google_CommunityPollImage $image) {
|
|
|
1801 |
$this->image = $image;
|
|
|
1802 |
}
|
|
|
1803 |
public function getImage() {
|
|
|
1804 |
return $this->image;
|
|
|
1805 |
}
|
|
|
1806 |
public function setEndingTime($endingTime) {
|
|
|
1807 |
$this->endingTime = $endingTime;
|
|
|
1808 |
}
|
|
|
1809 |
public function getEndingTime() {
|
|
|
1810 |
return $this->endingTime;
|
|
|
1811 |
}
|
|
|
1812 |
public function setIsVotingAllowedForNonMembers($isVotingAllowedForNonMembers) {
|
|
|
1813 |
$this->isVotingAllowedForNonMembers = $isVotingAllowedForNonMembers;
|
|
|
1814 |
}
|
|
|
1815 |
public function getIsVotingAllowedForNonMembers() {
|
|
|
1816 |
return $this->isVotingAllowedForNonMembers;
|
|
|
1817 |
}
|
|
|
1818 |
public function setIsSpam($isSpam) {
|
|
|
1819 |
$this->isSpam = $isSpam;
|
|
|
1820 |
}
|
|
|
1821 |
public function getIsSpam() {
|
|
|
1822 |
return $this->isSpam;
|
|
|
1823 |
}
|
|
|
1824 |
public function setTotalNumberOfVotes($totalNumberOfVotes) {
|
|
|
1825 |
$this->totalNumberOfVotes = $totalNumberOfVotes;
|
|
|
1826 |
}
|
|
|
1827 |
public function getTotalNumberOfVotes() {
|
|
|
1828 |
return $this->totalNumberOfVotes;
|
|
|
1829 |
}
|
|
|
1830 |
public function setAuthor(Google_OrkutAuthorResource $author) {
|
|
|
1831 |
$this->author = $author;
|
|
|
1832 |
}
|
|
|
1833 |
public function getAuthor() {
|
|
|
1834 |
return $this->author;
|
|
|
1835 |
}
|
|
|
1836 |
public function setQuestion($question) {
|
|
|
1837 |
$this->question = $question;
|
|
|
1838 |
}
|
|
|
1839 |
public function getQuestion() {
|
|
|
1840 |
return $this->question;
|
|
|
1841 |
}
|
|
|
1842 |
public function setId($id) {
|
|
|
1843 |
$this->id = $id;
|
|
|
1844 |
}
|
|
|
1845 |
public function getId() {
|
|
|
1846 |
return $this->id;
|
|
|
1847 |
}
|
|
|
1848 |
public function setIsRestricted($isRestricted) {
|
|
|
1849 |
$this->isRestricted = $isRestricted;
|
|
|
1850 |
}
|
|
|
1851 |
public function getIsRestricted() {
|
|
|
1852 |
return $this->isRestricted;
|
|
|
1853 |
}
|
|
|
1854 |
public function setCommunityId($communityId) {
|
|
|
1855 |
$this->communityId = $communityId;
|
|
|
1856 |
}
|
|
|
1857 |
public function getCommunityId() {
|
|
|
1858 |
return $this->communityId;
|
|
|
1859 |
}
|
|
|
1860 |
public function setIsUsersVotePublic($isUsersVotePublic) {
|
|
|
1861 |
$this->isUsersVotePublic = $isUsersVotePublic;
|
|
|
1862 |
}
|
|
|
1863 |
public function getIsUsersVotePublic() {
|
|
|
1864 |
return $this->isUsersVotePublic;
|
|
|
1865 |
}
|
|
|
1866 |
public function setLastUpdate($lastUpdate) {
|
|
|
1867 |
$this->lastUpdate = $lastUpdate;
|
|
|
1868 |
}
|
|
|
1869 |
public function getLastUpdate() {
|
|
|
1870 |
return $this->lastUpdate;
|
|
|
1871 |
}
|
|
|
1872 |
public function setDescription($description) {
|
|
|
1873 |
$this->description = $description;
|
|
|
1874 |
}
|
|
|
1875 |
public function getDescription() {
|
|
|
1876 |
return $this->description;
|
|
|
1877 |
}
|
|
|
1878 |
public function setVotedOptions(/* array(Google_int) */ $votedOptions) {
|
|
|
1879 |
$this->assertIsArray($votedOptions, 'Google_int', __METHOD__);
|
|
|
1880 |
$this->votedOptions = $votedOptions;
|
|
|
1881 |
}
|
|
|
1882 |
public function getVotedOptions() {
|
|
|
1883 |
return $this->votedOptions;
|
|
|
1884 |
}
|
|
|
1885 |
public function setIsOpenForVoting($isOpenForVoting) {
|
|
|
1886 |
$this->isOpenForVoting = $isOpenForVoting;
|
|
|
1887 |
}
|
|
|
1888 |
public function getIsOpenForVoting() {
|
|
|
1889 |
return $this->isOpenForVoting;
|
|
|
1890 |
}
|
|
|
1891 |
public function setIsClosed($isClosed) {
|
|
|
1892 |
$this->isClosed = $isClosed;
|
|
|
1893 |
}
|
|
|
1894 |
public function getIsClosed() {
|
|
|
1895 |
return $this->isClosed;
|
|
|
1896 |
}
|
|
|
1897 |
public function setHasVoted($hasVoted) {
|
|
|
1898 |
$this->hasVoted = $hasVoted;
|
|
|
1899 |
}
|
|
|
1900 |
public function getHasVoted() {
|
|
|
1901 |
return $this->hasVoted;
|
|
|
1902 |
}
|
|
|
1903 |
public function setKind($kind) {
|
|
|
1904 |
$this->kind = $kind;
|
|
|
1905 |
}
|
|
|
1906 |
public function getKind() {
|
|
|
1907 |
return $this->kind;
|
|
|
1908 |
}
|
|
|
1909 |
public function setCreationTime($creationTime) {
|
|
|
1910 |
$this->creationTime = $creationTime;
|
|
|
1911 |
}
|
|
|
1912 |
public function getCreationTime() {
|
|
|
1913 |
return $this->creationTime;
|
|
|
1914 |
}
|
|
|
1915 |
public function setOptions(/* array(Google_OrkutCommunitypolloptionResource) */ $options) {
|
|
|
1916 |
$this->assertIsArray($options, 'Google_OrkutCommunitypolloptionResource', __METHOD__);
|
|
|
1917 |
$this->options = $options;
|
|
|
1918 |
}
|
|
|
1919 |
public function getOptions() {
|
|
|
1920 |
return $this->options;
|
|
|
1921 |
}
|
|
|
1922 |
}
|
|
|
1923 |
|
|
|
1924 |
class Google_CommunityPollComment extends Google_Model {
|
|
|
1925 |
public $body;
|
|
|
1926 |
public $kind;
|
|
|
1927 |
public $addedDate;
|
|
|
1928 |
public $id;
|
|
|
1929 |
protected $__authorType = 'Google_OrkutAuthorResource';
|
|
|
1930 |
protected $__authorDataType = '';
|
|
|
1931 |
public $author;
|
|
|
1932 |
public function setBody($body) {
|
|
|
1933 |
$this->body = $body;
|
|
|
1934 |
}
|
|
|
1935 |
public function getBody() {
|
|
|
1936 |
return $this->body;
|
|
|
1937 |
}
|
|
|
1938 |
public function setKind($kind) {
|
|
|
1939 |
$this->kind = $kind;
|
|
|
1940 |
}
|
|
|
1941 |
public function getKind() {
|
|
|
1942 |
return $this->kind;
|
|
|
1943 |
}
|
|
|
1944 |
public function setAddedDate($addedDate) {
|
|
|
1945 |
$this->addedDate = $addedDate;
|
|
|
1946 |
}
|
|
|
1947 |
public function getAddedDate() {
|
|
|
1948 |
return $this->addedDate;
|
|
|
1949 |
}
|
|
|
1950 |
public function setId($id) {
|
|
|
1951 |
$this->id = $id;
|
|
|
1952 |
}
|
|
|
1953 |
public function getId() {
|
|
|
1954 |
return $this->id;
|
|
|
1955 |
}
|
|
|
1956 |
public function setAuthor(Google_OrkutAuthorResource $author) {
|
|
|
1957 |
$this->author = $author;
|
|
|
1958 |
}
|
|
|
1959 |
public function getAuthor() {
|
|
|
1960 |
return $this->author;
|
|
|
1961 |
}
|
|
|
1962 |
}
|
|
|
1963 |
|
|
|
1964 |
class Google_CommunityPollCommentList extends Google_Model {
|
|
|
1965 |
public $nextPageToken;
|
|
|
1966 |
public $kind;
|
|
|
1967 |
protected $__itemsType = 'Google_CommunityPollComment';
|
|
|
1968 |
protected $__itemsDataType = 'array';
|
|
|
1969 |
public $items;
|
|
|
1970 |
public $prevPageToken;
|
|
|
1971 |
public $lastPageToken;
|
|
|
1972 |
public $firstPageToken;
|
|
|
1973 |
public function setNextPageToken($nextPageToken) {
|
|
|
1974 |
$this->nextPageToken = $nextPageToken;
|
|
|
1975 |
}
|
|
|
1976 |
public function getNextPageToken() {
|
|
|
1977 |
return $this->nextPageToken;
|
|
|
1978 |
}
|
|
|
1979 |
public function setKind($kind) {
|
|
|
1980 |
$this->kind = $kind;
|
|
|
1981 |
}
|
|
|
1982 |
public function getKind() {
|
|
|
1983 |
return $this->kind;
|
|
|
1984 |
}
|
|
|
1985 |
public function setItems(/* array(Google_CommunityPollComment) */ $items) {
|
|
|
1986 |
$this->assertIsArray($items, 'Google_CommunityPollComment', __METHOD__);
|
|
|
1987 |
$this->items = $items;
|
|
|
1988 |
}
|
|
|
1989 |
public function getItems() {
|
|
|
1990 |
return $this->items;
|
|
|
1991 |
}
|
|
|
1992 |
public function setPrevPageToken($prevPageToken) {
|
|
|
1993 |
$this->prevPageToken = $prevPageToken;
|
|
|
1994 |
}
|
|
|
1995 |
public function getPrevPageToken() {
|
|
|
1996 |
return $this->prevPageToken;
|
|
|
1997 |
}
|
|
|
1998 |
public function setLastPageToken($lastPageToken) {
|
|
|
1999 |
$this->lastPageToken = $lastPageToken;
|
|
|
2000 |
}
|
|
|
2001 |
public function getLastPageToken() {
|
|
|
2002 |
return $this->lastPageToken;
|
|
|
2003 |
}
|
|
|
2004 |
public function setFirstPageToken($firstPageToken) {
|
|
|
2005 |
$this->firstPageToken = $firstPageToken;
|
|
|
2006 |
}
|
|
|
2007 |
public function getFirstPageToken() {
|
|
|
2008 |
return $this->firstPageToken;
|
|
|
2009 |
}
|
|
|
2010 |
}
|
|
|
2011 |
|
|
|
2012 |
class Google_CommunityPollImage extends Google_Model {
|
|
|
2013 |
public $url;
|
|
|
2014 |
public function setUrl($url) {
|
|
|
2015 |
$this->url = $url;
|
|
|
2016 |
}
|
|
|
2017 |
public function getUrl() {
|
|
|
2018 |
return $this->url;
|
|
|
2019 |
}
|
|
|
2020 |
}
|
|
|
2021 |
|
|
|
2022 |
class Google_CommunityPollList extends Google_Model {
|
|
|
2023 |
public $nextPageToken;
|
|
|
2024 |
public $kind;
|
|
|
2025 |
protected $__itemsType = 'Google_CommunityPoll';
|
|
|
2026 |
protected $__itemsDataType = 'array';
|
|
|
2027 |
public $items;
|
|
|
2028 |
public $prevPageToken;
|
|
|
2029 |
public $lastPageToken;
|
|
|
2030 |
public $firstPageToken;
|
|
|
2031 |
public function setNextPageToken($nextPageToken) {
|
|
|
2032 |
$this->nextPageToken = $nextPageToken;
|
|
|
2033 |
}
|
|
|
2034 |
public function getNextPageToken() {
|
|
|
2035 |
return $this->nextPageToken;
|
|
|
2036 |
}
|
|
|
2037 |
public function setKind($kind) {
|
|
|
2038 |
$this->kind = $kind;
|
|
|
2039 |
}
|
|
|
2040 |
public function getKind() {
|
|
|
2041 |
return $this->kind;
|
|
|
2042 |
}
|
|
|
2043 |
public function setItems(/* array(Google_CommunityPoll) */ $items) {
|
|
|
2044 |
$this->assertIsArray($items, 'Google_CommunityPoll', __METHOD__);
|
|
|
2045 |
$this->items = $items;
|
|
|
2046 |
}
|
|
|
2047 |
public function getItems() {
|
|
|
2048 |
return $this->items;
|
|
|
2049 |
}
|
|
|
2050 |
public function setPrevPageToken($prevPageToken) {
|
|
|
2051 |
$this->prevPageToken = $prevPageToken;
|
|
|
2052 |
}
|
|
|
2053 |
public function getPrevPageToken() {
|
|
|
2054 |
return $this->prevPageToken;
|
|
|
2055 |
}
|
|
|
2056 |
public function setLastPageToken($lastPageToken) {
|
|
|
2057 |
$this->lastPageToken = $lastPageToken;
|
|
|
2058 |
}
|
|
|
2059 |
public function getLastPageToken() {
|
|
|
2060 |
return $this->lastPageToken;
|
|
|
2061 |
}
|
|
|
2062 |
public function setFirstPageToken($firstPageToken) {
|
|
|
2063 |
$this->firstPageToken = $firstPageToken;
|
|
|
2064 |
}
|
|
|
2065 |
public function getFirstPageToken() {
|
|
|
2066 |
return $this->firstPageToken;
|
|
|
2067 |
}
|
|
|
2068 |
}
|
|
|
2069 |
|
|
|
2070 |
class Google_CommunityPollVote extends Google_Model {
|
|
|
2071 |
public $kind;
|
|
|
2072 |
public $optionIds;
|
|
|
2073 |
public $isVotevisible;
|
|
|
2074 |
public function setKind($kind) {
|
|
|
2075 |
$this->kind = $kind;
|
|
|
2076 |
}
|
|
|
2077 |
public function getKind() {
|
|
|
2078 |
return $this->kind;
|
|
|
2079 |
}
|
|
|
2080 |
public function setOptionIds(/* array(Google_int) */ $optionIds) {
|
|
|
2081 |
$this->assertIsArray($optionIds, 'Google_int', __METHOD__);
|
|
|
2082 |
$this->optionIds = $optionIds;
|
|
|
2083 |
}
|
|
|
2084 |
public function getOptionIds() {
|
|
|
2085 |
return $this->optionIds;
|
|
|
2086 |
}
|
|
|
2087 |
public function setIsVotevisible($isVotevisible) {
|
|
|
2088 |
$this->isVotevisible = $isVotevisible;
|
|
|
2089 |
}
|
|
|
2090 |
public function getIsVotevisible() {
|
|
|
2091 |
return $this->isVotevisible;
|
|
|
2092 |
}
|
|
|
2093 |
}
|
|
|
2094 |
|
|
|
2095 |
class Google_CommunityTopic extends Google_Model {
|
|
|
2096 |
public $body;
|
|
|
2097 |
public $lastUpdate;
|
|
|
2098 |
public $kind;
|
|
|
2099 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
2100 |
protected $__linksDataType = 'array';
|
|
|
2101 |
public $links;
|
|
|
2102 |
protected $__authorType = 'Google_OrkutAuthorResource';
|
|
|
2103 |
protected $__authorDataType = '';
|
|
|
2104 |
public $author;
|
|
|
2105 |
public $title;
|
|
|
2106 |
protected $__messagesType = 'Google_CommunityMessage';
|
|
|
2107 |
protected $__messagesDataType = 'array';
|
|
|
2108 |
public $messages;
|
|
|
2109 |
public $latestMessageSnippet;
|
|
|
2110 |
public $isClosed;
|
|
|
2111 |
public $numberOfReplies;
|
|
|
2112 |
public $id;
|
|
|
2113 |
public function setBody($body) {
|
|
|
2114 |
$this->body = $body;
|
|
|
2115 |
}
|
|
|
2116 |
public function getBody() {
|
|
|
2117 |
return $this->body;
|
|
|
2118 |
}
|
|
|
2119 |
public function setLastUpdate($lastUpdate) {
|
|
|
2120 |
$this->lastUpdate = $lastUpdate;
|
|
|
2121 |
}
|
|
|
2122 |
public function getLastUpdate() {
|
|
|
2123 |
return $this->lastUpdate;
|
|
|
2124 |
}
|
|
|
2125 |
public function setKind($kind) {
|
|
|
2126 |
$this->kind = $kind;
|
|
|
2127 |
}
|
|
|
2128 |
public function getKind() {
|
|
|
2129 |
return $this->kind;
|
|
|
2130 |
}
|
|
|
2131 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
2132 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
2133 |
$this->links = $links;
|
|
|
2134 |
}
|
|
|
2135 |
public function getLinks() {
|
|
|
2136 |
return $this->links;
|
|
|
2137 |
}
|
|
|
2138 |
public function setAuthor(Google_OrkutAuthorResource $author) {
|
|
|
2139 |
$this->author = $author;
|
|
|
2140 |
}
|
|
|
2141 |
public function getAuthor() {
|
|
|
2142 |
return $this->author;
|
|
|
2143 |
}
|
|
|
2144 |
public function setTitle($title) {
|
|
|
2145 |
$this->title = $title;
|
|
|
2146 |
}
|
|
|
2147 |
public function getTitle() {
|
|
|
2148 |
return $this->title;
|
|
|
2149 |
}
|
|
|
2150 |
public function setMessages(/* array(Google_CommunityMessage) */ $messages) {
|
|
|
2151 |
$this->assertIsArray($messages, 'Google_CommunityMessage', __METHOD__);
|
|
|
2152 |
$this->messages = $messages;
|
|
|
2153 |
}
|
|
|
2154 |
public function getMessages() {
|
|
|
2155 |
return $this->messages;
|
|
|
2156 |
}
|
|
|
2157 |
public function setLatestMessageSnippet($latestMessageSnippet) {
|
|
|
2158 |
$this->latestMessageSnippet = $latestMessageSnippet;
|
|
|
2159 |
}
|
|
|
2160 |
public function getLatestMessageSnippet() {
|
|
|
2161 |
return $this->latestMessageSnippet;
|
|
|
2162 |
}
|
|
|
2163 |
public function setIsClosed($isClosed) {
|
|
|
2164 |
$this->isClosed = $isClosed;
|
|
|
2165 |
}
|
|
|
2166 |
public function getIsClosed() {
|
|
|
2167 |
return $this->isClosed;
|
|
|
2168 |
}
|
|
|
2169 |
public function setNumberOfReplies($numberOfReplies) {
|
|
|
2170 |
$this->numberOfReplies = $numberOfReplies;
|
|
|
2171 |
}
|
|
|
2172 |
public function getNumberOfReplies() {
|
|
|
2173 |
return $this->numberOfReplies;
|
|
|
2174 |
}
|
|
|
2175 |
public function setId($id) {
|
|
|
2176 |
$this->id = $id;
|
|
|
2177 |
}
|
|
|
2178 |
public function getId() {
|
|
|
2179 |
return $this->id;
|
|
|
2180 |
}
|
|
|
2181 |
}
|
|
|
2182 |
|
|
|
2183 |
class Google_CommunityTopicList extends Google_Model {
|
|
|
2184 |
public $nextPageToken;
|
|
|
2185 |
public $kind;
|
|
|
2186 |
protected $__itemsType = 'Google_CommunityTopic';
|
|
|
2187 |
protected $__itemsDataType = 'array';
|
|
|
2188 |
public $items;
|
|
|
2189 |
public $prevPageToken;
|
|
|
2190 |
public $lastPageToken;
|
|
|
2191 |
public $firstPageToken;
|
|
|
2192 |
public function setNextPageToken($nextPageToken) {
|
|
|
2193 |
$this->nextPageToken = $nextPageToken;
|
|
|
2194 |
}
|
|
|
2195 |
public function getNextPageToken() {
|
|
|
2196 |
return $this->nextPageToken;
|
|
|
2197 |
}
|
|
|
2198 |
public function setKind($kind) {
|
|
|
2199 |
$this->kind = $kind;
|
|
|
2200 |
}
|
|
|
2201 |
public function getKind() {
|
|
|
2202 |
return $this->kind;
|
|
|
2203 |
}
|
|
|
2204 |
public function setItems(/* array(Google_CommunityTopic) */ $items) {
|
|
|
2205 |
$this->assertIsArray($items, 'Google_CommunityTopic', __METHOD__);
|
|
|
2206 |
$this->items = $items;
|
|
|
2207 |
}
|
|
|
2208 |
public function getItems() {
|
|
|
2209 |
return $this->items;
|
|
|
2210 |
}
|
|
|
2211 |
public function setPrevPageToken($prevPageToken) {
|
|
|
2212 |
$this->prevPageToken = $prevPageToken;
|
|
|
2213 |
}
|
|
|
2214 |
public function getPrevPageToken() {
|
|
|
2215 |
return $this->prevPageToken;
|
|
|
2216 |
}
|
|
|
2217 |
public function setLastPageToken($lastPageToken) {
|
|
|
2218 |
$this->lastPageToken = $lastPageToken;
|
|
|
2219 |
}
|
|
|
2220 |
public function getLastPageToken() {
|
|
|
2221 |
return $this->lastPageToken;
|
|
|
2222 |
}
|
|
|
2223 |
public function setFirstPageToken($firstPageToken) {
|
|
|
2224 |
$this->firstPageToken = $firstPageToken;
|
|
|
2225 |
}
|
|
|
2226 |
public function getFirstPageToken() {
|
|
|
2227 |
return $this->firstPageToken;
|
|
|
2228 |
}
|
|
|
2229 |
}
|
|
|
2230 |
|
|
|
2231 |
class Google_Counters extends Google_Model {
|
|
|
2232 |
protected $__itemsType = 'Google_OrkutCounterResource';
|
|
|
2233 |
protected $__itemsDataType = 'array';
|
|
|
2234 |
public $items;
|
|
|
2235 |
public $kind;
|
|
|
2236 |
public function setItems(/* array(Google_OrkutCounterResource) */ $items) {
|
|
|
2237 |
$this->assertIsArray($items, 'Google_OrkutCounterResource', __METHOD__);
|
|
|
2238 |
$this->items = $items;
|
|
|
2239 |
}
|
|
|
2240 |
public function getItems() {
|
|
|
2241 |
return $this->items;
|
|
|
2242 |
}
|
|
|
2243 |
public function setKind($kind) {
|
|
|
2244 |
$this->kind = $kind;
|
|
|
2245 |
}
|
|
|
2246 |
public function getKind() {
|
|
|
2247 |
return $this->kind;
|
|
|
2248 |
}
|
|
|
2249 |
}
|
|
|
2250 |
|
|
|
2251 |
class Google_OrkutActivityobjectsResource extends Google_Model {
|
|
|
2252 |
public $displayName;
|
|
|
2253 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
2254 |
protected $__linksDataType = 'array';
|
|
|
2255 |
public $links;
|
|
|
2256 |
protected $__communityType = 'Google_Community';
|
|
|
2257 |
protected $__communityDataType = '';
|
|
|
2258 |
public $community;
|
|
|
2259 |
public $content;
|
|
|
2260 |
protected $__personType = 'Google_OrkutActivitypersonResource';
|
|
|
2261 |
protected $__personDataType = '';
|
|
|
2262 |
public $person;
|
|
|
2263 |
public $id;
|
|
|
2264 |
public $objectType;
|
|
|
2265 |
public function setDisplayName($displayName) {
|
|
|
2266 |
$this->displayName = $displayName;
|
|
|
2267 |
}
|
|
|
2268 |
public function getDisplayName() {
|
|
|
2269 |
return $this->displayName;
|
|
|
2270 |
}
|
|
|
2271 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
2272 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
2273 |
$this->links = $links;
|
|
|
2274 |
}
|
|
|
2275 |
public function getLinks() {
|
|
|
2276 |
return $this->links;
|
|
|
2277 |
}
|
|
|
2278 |
public function setCommunity(Google_Community $community) {
|
|
|
2279 |
$this->community = $community;
|
|
|
2280 |
}
|
|
|
2281 |
public function getCommunity() {
|
|
|
2282 |
return $this->community;
|
|
|
2283 |
}
|
|
|
2284 |
public function setContent($content) {
|
|
|
2285 |
$this->content = $content;
|
|
|
2286 |
}
|
|
|
2287 |
public function getContent() {
|
|
|
2288 |
return $this->content;
|
|
|
2289 |
}
|
|
|
2290 |
public function setPerson(Google_OrkutActivitypersonResource $person) {
|
|
|
2291 |
$this->person = $person;
|
|
|
2292 |
}
|
|
|
2293 |
public function getPerson() {
|
|
|
2294 |
return $this->person;
|
|
|
2295 |
}
|
|
|
2296 |
public function setId($id) {
|
|
|
2297 |
$this->id = $id;
|
|
|
2298 |
}
|
|
|
2299 |
public function getId() {
|
|
|
2300 |
return $this->id;
|
|
|
2301 |
}
|
|
|
2302 |
public function setObjectType($objectType) {
|
|
|
2303 |
$this->objectType = $objectType;
|
|
|
2304 |
}
|
|
|
2305 |
public function getObjectType() {
|
|
|
2306 |
return $this->objectType;
|
|
|
2307 |
}
|
|
|
2308 |
}
|
|
|
2309 |
|
|
|
2310 |
class Google_OrkutActivitypersonResource extends Google_Model {
|
|
|
2311 |
protected $__nameType = 'Google_OrkutActivitypersonResourceName';
|
|
|
2312 |
protected $__nameDataType = '';
|
|
|
2313 |
public $name;
|
|
|
2314 |
public $url;
|
|
|
2315 |
public $gender;
|
|
|
2316 |
protected $__imageType = 'Google_OrkutActivitypersonResourceImage';
|
|
|
2317 |
protected $__imageDataType = '';
|
|
|
2318 |
public $image;
|
|
|
2319 |
public $birthday;
|
|
|
2320 |
public $id;
|
|
|
2321 |
public function setName(Google_OrkutActivitypersonResourceName $name) {
|
|
|
2322 |
$this->name = $name;
|
|
|
2323 |
}
|
|
|
2324 |
public function getName() {
|
|
|
2325 |
return $this->name;
|
|
|
2326 |
}
|
|
|
2327 |
public function setUrl($url) {
|
|
|
2328 |
$this->url = $url;
|
|
|
2329 |
}
|
|
|
2330 |
public function getUrl() {
|
|
|
2331 |
return $this->url;
|
|
|
2332 |
}
|
|
|
2333 |
public function setGender($gender) {
|
|
|
2334 |
$this->gender = $gender;
|
|
|
2335 |
}
|
|
|
2336 |
public function getGender() {
|
|
|
2337 |
return $this->gender;
|
|
|
2338 |
}
|
|
|
2339 |
public function setImage(Google_OrkutActivitypersonResourceImage $image) {
|
|
|
2340 |
$this->image = $image;
|
|
|
2341 |
}
|
|
|
2342 |
public function getImage() {
|
|
|
2343 |
return $this->image;
|
|
|
2344 |
}
|
|
|
2345 |
public function setBirthday($birthday) {
|
|
|
2346 |
$this->birthday = $birthday;
|
|
|
2347 |
}
|
|
|
2348 |
public function getBirthday() {
|
|
|
2349 |
return $this->birthday;
|
|
|
2350 |
}
|
|
|
2351 |
public function setId($id) {
|
|
|
2352 |
$this->id = $id;
|
|
|
2353 |
}
|
|
|
2354 |
public function getId() {
|
|
|
2355 |
return $this->id;
|
|
|
2356 |
}
|
|
|
2357 |
}
|
|
|
2358 |
|
|
|
2359 |
class Google_OrkutActivitypersonResourceImage extends Google_Model {
|
|
|
2360 |
public $url;
|
|
|
2361 |
public function setUrl($url) {
|
|
|
2362 |
$this->url = $url;
|
|
|
2363 |
}
|
|
|
2364 |
public function getUrl() {
|
|
|
2365 |
return $this->url;
|
|
|
2366 |
}
|
|
|
2367 |
}
|
|
|
2368 |
|
|
|
2369 |
class Google_OrkutActivitypersonResourceName extends Google_Model {
|
|
|
2370 |
public $givenName;
|
|
|
2371 |
public $familyName;
|
|
|
2372 |
public function setGivenName($givenName) {
|
|
|
2373 |
$this->givenName = $givenName;
|
|
|
2374 |
}
|
|
|
2375 |
public function getGivenName() {
|
|
|
2376 |
return $this->givenName;
|
|
|
2377 |
}
|
|
|
2378 |
public function setFamilyName($familyName) {
|
|
|
2379 |
$this->familyName = $familyName;
|
|
|
2380 |
}
|
|
|
2381 |
public function getFamilyName() {
|
|
|
2382 |
return $this->familyName;
|
|
|
2383 |
}
|
|
|
2384 |
}
|
|
|
2385 |
|
|
|
2386 |
class Google_OrkutAuthorResource extends Google_Model {
|
|
|
2387 |
public $url;
|
|
|
2388 |
protected $__imageType = 'Google_OrkutAuthorResourceImage';
|
|
|
2389 |
protected $__imageDataType = '';
|
|
|
2390 |
public $image;
|
|
|
2391 |
public $displayName;
|
|
|
2392 |
public $id;
|
|
|
2393 |
public function setUrl($url) {
|
|
|
2394 |
$this->url = $url;
|
|
|
2395 |
}
|
|
|
2396 |
public function getUrl() {
|
|
|
2397 |
return $this->url;
|
|
|
2398 |
}
|
|
|
2399 |
public function setImage(Google_OrkutAuthorResourceImage $image) {
|
|
|
2400 |
$this->image = $image;
|
|
|
2401 |
}
|
|
|
2402 |
public function getImage() {
|
|
|
2403 |
return $this->image;
|
|
|
2404 |
}
|
|
|
2405 |
public function setDisplayName($displayName) {
|
|
|
2406 |
$this->displayName = $displayName;
|
|
|
2407 |
}
|
|
|
2408 |
public function getDisplayName() {
|
|
|
2409 |
return $this->displayName;
|
|
|
2410 |
}
|
|
|
2411 |
public function setId($id) {
|
|
|
2412 |
$this->id = $id;
|
|
|
2413 |
}
|
|
|
2414 |
public function getId() {
|
|
|
2415 |
return $this->id;
|
|
|
2416 |
}
|
|
|
2417 |
}
|
|
|
2418 |
|
|
|
2419 |
class Google_OrkutAuthorResourceImage extends Google_Model {
|
|
|
2420 |
public $url;
|
|
|
2421 |
public function setUrl($url) {
|
|
|
2422 |
$this->url = $url;
|
|
|
2423 |
}
|
|
|
2424 |
public function getUrl() {
|
|
|
2425 |
return $this->url;
|
|
|
2426 |
}
|
|
|
2427 |
}
|
|
|
2428 |
|
|
|
2429 |
class Google_OrkutCommunitypolloptionResource extends Google_Model {
|
|
|
2430 |
protected $__imageType = 'Google_OrkutCommunitypolloptionResourceImage';
|
|
|
2431 |
protected $__imageDataType = '';
|
|
|
2432 |
public $image;
|
|
|
2433 |
public $optionId;
|
|
|
2434 |
public $description;
|
|
|
2435 |
public $numberOfVotes;
|
|
|
2436 |
public function setImage(Google_OrkutCommunitypolloptionResourceImage $image) {
|
|
|
2437 |
$this->image = $image;
|
|
|
2438 |
}
|
|
|
2439 |
public function getImage() {
|
|
|
2440 |
return $this->image;
|
|
|
2441 |
}
|
|
|
2442 |
public function setOptionId($optionId) {
|
|
|
2443 |
$this->optionId = $optionId;
|
|
|
2444 |
}
|
|
|
2445 |
public function getOptionId() {
|
|
|
2446 |
return $this->optionId;
|
|
|
2447 |
}
|
|
|
2448 |
public function setDescription($description) {
|
|
|
2449 |
$this->description = $description;
|
|
|
2450 |
}
|
|
|
2451 |
public function getDescription() {
|
|
|
2452 |
return $this->description;
|
|
|
2453 |
}
|
|
|
2454 |
public function setNumberOfVotes($numberOfVotes) {
|
|
|
2455 |
$this->numberOfVotes = $numberOfVotes;
|
|
|
2456 |
}
|
|
|
2457 |
public function getNumberOfVotes() {
|
|
|
2458 |
return $this->numberOfVotes;
|
|
|
2459 |
}
|
|
|
2460 |
}
|
|
|
2461 |
|
|
|
2462 |
class Google_OrkutCommunitypolloptionResourceImage extends Google_Model {
|
|
|
2463 |
public $url;
|
|
|
2464 |
public function setUrl($url) {
|
|
|
2465 |
$this->url = $url;
|
|
|
2466 |
}
|
|
|
2467 |
public function getUrl() {
|
|
|
2468 |
return $this->url;
|
|
|
2469 |
}
|
|
|
2470 |
}
|
|
|
2471 |
|
|
|
2472 |
class Google_OrkutCounterResource extends Google_Model {
|
|
|
2473 |
public $total;
|
|
|
2474 |
protected $__linkType = 'Google_OrkutLinkResource';
|
|
|
2475 |
protected $__linkDataType = '';
|
|
|
2476 |
public $link;
|
|
|
2477 |
public $name;
|
|
|
2478 |
public function setTotal($total) {
|
|
|
2479 |
$this->total = $total;
|
|
|
2480 |
}
|
|
|
2481 |
public function getTotal() {
|
|
|
2482 |
return $this->total;
|
|
|
2483 |
}
|
|
|
2484 |
public function setLink(Google_OrkutLinkResource $link) {
|
|
|
2485 |
$this->link = $link;
|
|
|
2486 |
}
|
|
|
2487 |
public function getLink() {
|
|
|
2488 |
return $this->link;
|
|
|
2489 |
}
|
|
|
2490 |
public function setName($name) {
|
|
|
2491 |
$this->name = $name;
|
|
|
2492 |
}
|
|
|
2493 |
public function getName() {
|
|
|
2494 |
return $this->name;
|
|
|
2495 |
}
|
|
|
2496 |
}
|
|
|
2497 |
|
|
|
2498 |
class Google_OrkutLinkResource extends Google_Model {
|
|
|
2499 |
public $href;
|
|
|
2500 |
public $type;
|
|
|
2501 |
public $rel;
|
|
|
2502 |
public $title;
|
|
|
2503 |
public function setHref($href) {
|
|
|
2504 |
$this->href = $href;
|
|
|
2505 |
}
|
|
|
2506 |
public function getHref() {
|
|
|
2507 |
return $this->href;
|
|
|
2508 |
}
|
|
|
2509 |
public function setType($type) {
|
|
|
2510 |
$this->type = $type;
|
|
|
2511 |
}
|
|
|
2512 |
public function getType() {
|
|
|
2513 |
return $this->type;
|
|
|
2514 |
}
|
|
|
2515 |
public function setRel($rel) {
|
|
|
2516 |
$this->rel = $rel;
|
|
|
2517 |
}
|
|
|
2518 |
public function getRel() {
|
|
|
2519 |
return $this->rel;
|
|
|
2520 |
}
|
|
|
2521 |
public function setTitle($title) {
|
|
|
2522 |
$this->title = $title;
|
|
|
2523 |
}
|
|
|
2524 |
public function getTitle() {
|
|
|
2525 |
return $this->title;
|
|
|
2526 |
}
|
|
|
2527 |
}
|
|
|
2528 |
|
|
|
2529 |
class Google_Visibility extends Google_Model {
|
|
|
2530 |
public $kind;
|
|
|
2531 |
public $visibility;
|
|
|
2532 |
protected $__linksType = 'Google_OrkutLinkResource';
|
|
|
2533 |
protected $__linksDataType = 'array';
|
|
|
2534 |
public $links;
|
|
|
2535 |
public function setKind($kind) {
|
|
|
2536 |
$this->kind = $kind;
|
|
|
2537 |
}
|
|
|
2538 |
public function getKind() {
|
|
|
2539 |
return $this->kind;
|
|
|
2540 |
}
|
|
|
2541 |
public function setVisibility($visibility) {
|
|
|
2542 |
$this->visibility = $visibility;
|
|
|
2543 |
}
|
|
|
2544 |
public function getVisibility() {
|
|
|
2545 |
return $this->visibility;
|
|
|
2546 |
}
|
|
|
2547 |
public function setLinks(/* array(Google_OrkutLinkResource) */ $links) {
|
|
|
2548 |
$this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__);
|
|
|
2549 |
$this->links = $links;
|
|
|
2550 |
}
|
|
|
2551 |
public function getLinks() {
|
|
|
2552 |
return $this->links;
|
|
|
2553 |
}
|
|
|
2554 |
}
|