google-apis-blogger_v3 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-blogger_v3.rb +15 -0
- data/lib/google/apis/blogger_v3.rb +39 -0
- data/lib/google/apis/blogger_v3/classes.rb +1360 -0
- data/lib/google/apis/blogger_v3/gem_version.rb +28 -0
- data/lib/google/apis/blogger_v3/representations.rb +624 -0
- data/lib/google/apis/blogger_v3/service.rb +1241 -0
- metadata +76 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of 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,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module BloggerV3
|
18
|
+
# Version of the google-apis-blogger_v3 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20200801"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,624 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of 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,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module BloggerV3
|
24
|
+
|
25
|
+
class Blog
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
class Locale
|
29
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
30
|
+
|
31
|
+
include Google::Apis::Core::JsonObjectSupport
|
32
|
+
end
|
33
|
+
|
34
|
+
class Pages
|
35
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
36
|
+
|
37
|
+
include Google::Apis::Core::JsonObjectSupport
|
38
|
+
end
|
39
|
+
|
40
|
+
class Posts
|
41
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
42
|
+
|
43
|
+
include Google::Apis::Core::JsonObjectSupport
|
44
|
+
end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class BlogList
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class BlogPerUserInfo
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class BlogUserInfo
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Comment
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
class Author
|
71
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
72
|
+
|
73
|
+
class Image
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
include Google::Apis::Core::JsonObjectSupport
|
80
|
+
end
|
81
|
+
|
82
|
+
class Blog
|
83
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
84
|
+
|
85
|
+
include Google::Apis::Core::JsonObjectSupport
|
86
|
+
end
|
87
|
+
|
88
|
+
class InReplyTo
|
89
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
90
|
+
|
91
|
+
include Google::Apis::Core::JsonObjectSupport
|
92
|
+
end
|
93
|
+
|
94
|
+
class Post
|
95
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
96
|
+
|
97
|
+
include Google::Apis::Core::JsonObjectSupport
|
98
|
+
end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class CommentList
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Page
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
class Author
|
113
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
114
|
+
|
115
|
+
class Image
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
include Google::Apis::Core::JsonObjectSupport
|
122
|
+
end
|
123
|
+
|
124
|
+
class Blog
|
125
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
126
|
+
|
127
|
+
include Google::Apis::Core::JsonObjectSupport
|
128
|
+
end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class PageList
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Pageviews
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
class Count
|
143
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
144
|
+
|
145
|
+
include Google::Apis::Core::JsonObjectSupport
|
146
|
+
end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Post
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
class Author
|
155
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
156
|
+
|
157
|
+
class Image
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
include Google::Apis::Core::JsonObjectSupport
|
164
|
+
end
|
165
|
+
|
166
|
+
class Blog
|
167
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
168
|
+
|
169
|
+
include Google::Apis::Core::JsonObjectSupport
|
170
|
+
end
|
171
|
+
|
172
|
+
class Image
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
174
|
+
|
175
|
+
include Google::Apis::Core::JsonObjectSupport
|
176
|
+
end
|
177
|
+
|
178
|
+
class Location
|
179
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
180
|
+
|
181
|
+
include Google::Apis::Core::JsonObjectSupport
|
182
|
+
end
|
183
|
+
|
184
|
+
class Replies
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
186
|
+
|
187
|
+
include Google::Apis::Core::JsonObjectSupport
|
188
|
+
end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class PostList
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class PostPerUserInfo
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class PostUserInfo
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class PostUserInfosList
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class User
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
class Blogs
|
221
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
222
|
+
|
223
|
+
include Google::Apis::Core::JsonObjectSupport
|
224
|
+
end
|
225
|
+
|
226
|
+
class Locale
|
227
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
228
|
+
|
229
|
+
include Google::Apis::Core::JsonObjectSupport
|
230
|
+
end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class Blog
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
property :custom_meta_data, as: 'customMetaData'
|
239
|
+
property :description, as: 'description'
|
240
|
+
property :id, as: 'id'
|
241
|
+
property :kind, as: 'kind'
|
242
|
+
property :locale, as: 'locale', class: Google::Apis::BloggerV3::Blog::Locale, decorator: Google::Apis::BloggerV3::Blog::Locale::Representation
|
243
|
+
|
244
|
+
property :name, as: 'name'
|
245
|
+
property :pages, as: 'pages', class: Google::Apis::BloggerV3::Blog::Pages, decorator: Google::Apis::BloggerV3::Blog::Pages::Representation
|
246
|
+
|
247
|
+
property :posts, as: 'posts', class: Google::Apis::BloggerV3::Blog::Posts, decorator: Google::Apis::BloggerV3::Blog::Posts::Representation
|
248
|
+
|
249
|
+
property :published, as: 'published'
|
250
|
+
property :self_link, as: 'selfLink'
|
251
|
+
property :status, as: 'status'
|
252
|
+
property :updated, as: 'updated'
|
253
|
+
property :url, as: 'url'
|
254
|
+
end
|
255
|
+
|
256
|
+
class Locale
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
property :country, as: 'country'
|
260
|
+
property :language, as: 'language'
|
261
|
+
property :variant, as: 'variant'
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
class Pages
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :self_link, as: 'selfLink'
|
269
|
+
property :total_items, as: 'totalItems'
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
class Posts
|
274
|
+
# @private
|
275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::Post, decorator: Google::Apis::BloggerV3::Post::Representation
|
277
|
+
|
278
|
+
property :self_link, as: 'selfLink'
|
279
|
+
property :total_items, as: 'totalItems'
|
280
|
+
end
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
class BlogList
|
285
|
+
# @private
|
286
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
287
|
+
collection :blog_user_infos, as: 'blogUserInfos', class: Google::Apis::BloggerV3::BlogUserInfo, decorator: Google::Apis::BloggerV3::BlogUserInfo::Representation
|
288
|
+
|
289
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::Blog, decorator: Google::Apis::BloggerV3::Blog::Representation
|
290
|
+
|
291
|
+
property :kind, as: 'kind'
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class BlogPerUserInfo
|
296
|
+
# @private
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
298
|
+
property :blog_id, as: 'blogId'
|
299
|
+
property :has_admin_access, as: 'hasAdminAccess'
|
300
|
+
property :kind, as: 'kind'
|
301
|
+
property :photos_album_key, as: 'photosAlbumKey'
|
302
|
+
property :role, as: 'role'
|
303
|
+
property :user_id, as: 'userId'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
class BlogUserInfo
|
308
|
+
# @private
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV3::Blog, decorator: Google::Apis::BloggerV3::Blog::Representation
|
311
|
+
|
312
|
+
property :blog_user_info, as: 'blog_user_info', class: Google::Apis::BloggerV3::BlogPerUserInfo, decorator: Google::Apis::BloggerV3::BlogPerUserInfo::Representation
|
313
|
+
|
314
|
+
property :kind, as: 'kind'
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
class Comment
|
319
|
+
# @private
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
property :author, as: 'author', class: Google::Apis::BloggerV3::Comment::Author, decorator: Google::Apis::BloggerV3::Comment::Author::Representation
|
322
|
+
|
323
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV3::Comment::Blog, decorator: Google::Apis::BloggerV3::Comment::Blog::Representation
|
324
|
+
|
325
|
+
property :content, as: 'content'
|
326
|
+
property :id, as: 'id'
|
327
|
+
property :in_reply_to, as: 'inReplyTo', class: Google::Apis::BloggerV3::Comment::InReplyTo, decorator: Google::Apis::BloggerV3::Comment::InReplyTo::Representation
|
328
|
+
|
329
|
+
property :kind, as: 'kind'
|
330
|
+
property :post, as: 'post', class: Google::Apis::BloggerV3::Comment::Post, decorator: Google::Apis::BloggerV3::Comment::Post::Representation
|
331
|
+
|
332
|
+
property :published, as: 'published'
|
333
|
+
property :self_link, as: 'selfLink'
|
334
|
+
property :status, as: 'status'
|
335
|
+
property :updated, as: 'updated'
|
336
|
+
end
|
337
|
+
|
338
|
+
class Author
|
339
|
+
# @private
|
340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
property :display_name, as: 'displayName'
|
342
|
+
property :id, as: 'id'
|
343
|
+
property :image, as: 'image', class: Google::Apis::BloggerV3::Comment::Author::Image, decorator: Google::Apis::BloggerV3::Comment::Author::Image::Representation
|
344
|
+
|
345
|
+
property :url, as: 'url'
|
346
|
+
end
|
347
|
+
|
348
|
+
class Image
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
property :url, as: 'url'
|
352
|
+
end
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class Blog
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
property :id, as: 'id'
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
class InReplyTo
|
364
|
+
# @private
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
+
property :id, as: 'id'
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
class Post
|
371
|
+
# @private
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
373
|
+
property :id, as: 'id'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class CommentList
|
379
|
+
# @private
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
381
|
+
property :etag, as: 'etag'
|
382
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::Comment, decorator: Google::Apis::BloggerV3::Comment::Representation
|
383
|
+
|
384
|
+
property :kind, as: 'kind'
|
385
|
+
property :next_page_token, as: 'nextPageToken'
|
386
|
+
property :prev_page_token, as: 'prevPageToken'
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
class Page
|
391
|
+
# @private
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
+
property :author, as: 'author', class: Google::Apis::BloggerV3::Page::Author, decorator: Google::Apis::BloggerV3::Page::Author::Representation
|
394
|
+
|
395
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV3::Page::Blog, decorator: Google::Apis::BloggerV3::Page::Blog::Representation
|
396
|
+
|
397
|
+
property :content, as: 'content'
|
398
|
+
property :etag, as: 'etag'
|
399
|
+
property :id, as: 'id'
|
400
|
+
property :kind, as: 'kind'
|
401
|
+
property :published, as: 'published'
|
402
|
+
property :self_link, as: 'selfLink'
|
403
|
+
property :status, as: 'status'
|
404
|
+
property :title, as: 'title'
|
405
|
+
property :updated, as: 'updated'
|
406
|
+
property :url, as: 'url'
|
407
|
+
end
|
408
|
+
|
409
|
+
class Author
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :display_name, as: 'displayName'
|
413
|
+
property :id, as: 'id'
|
414
|
+
property :image, as: 'image', class: Google::Apis::BloggerV3::Page::Author::Image, decorator: Google::Apis::BloggerV3::Page::Author::Image::Representation
|
415
|
+
|
416
|
+
property :url, as: 'url'
|
417
|
+
end
|
418
|
+
|
419
|
+
class Image
|
420
|
+
# @private
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
+
property :url, as: 'url'
|
423
|
+
end
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
class Blog
|
428
|
+
# @private
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
+
property :id, as: 'id'
|
431
|
+
end
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
class PageList
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
property :etag, as: 'etag'
|
439
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::Page, decorator: Google::Apis::BloggerV3::Page::Representation
|
440
|
+
|
441
|
+
property :kind, as: 'kind'
|
442
|
+
property :next_page_token, as: 'nextPageToken'
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
class Pageviews
|
447
|
+
# @private
|
448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
449
|
+
property :blog_id, as: 'blogId'
|
450
|
+
collection :counts, as: 'counts', class: Google::Apis::BloggerV3::Pageviews::Count, decorator: Google::Apis::BloggerV3::Pageviews::Count::Representation
|
451
|
+
|
452
|
+
property :kind, as: 'kind'
|
453
|
+
end
|
454
|
+
|
455
|
+
class Count
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
property :count, :numeric_string => true, as: 'count'
|
459
|
+
property :time_range, as: 'timeRange'
|
460
|
+
end
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
class Post
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :author, as: 'author', class: Google::Apis::BloggerV3::Post::Author, decorator: Google::Apis::BloggerV3::Post::Author::Representation
|
468
|
+
|
469
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV3::Post::Blog, decorator: Google::Apis::BloggerV3::Post::Blog::Representation
|
470
|
+
|
471
|
+
property :content, as: 'content'
|
472
|
+
property :custom_meta_data, as: 'customMetaData'
|
473
|
+
property :etag, as: 'etag'
|
474
|
+
property :id, as: 'id'
|
475
|
+
collection :images, as: 'images', class: Google::Apis::BloggerV3::Post::Image, decorator: Google::Apis::BloggerV3::Post::Image::Representation
|
476
|
+
|
477
|
+
property :kind, as: 'kind'
|
478
|
+
collection :labels, as: 'labels'
|
479
|
+
property :location, as: 'location', class: Google::Apis::BloggerV3::Post::Location, decorator: Google::Apis::BloggerV3::Post::Location::Representation
|
480
|
+
|
481
|
+
property :published, as: 'published'
|
482
|
+
property :reader_comments, as: 'readerComments'
|
483
|
+
property :replies, as: 'replies', class: Google::Apis::BloggerV3::Post::Replies, decorator: Google::Apis::BloggerV3::Post::Replies::Representation
|
484
|
+
|
485
|
+
property :self_link, as: 'selfLink'
|
486
|
+
property :status, as: 'status'
|
487
|
+
property :title, as: 'title'
|
488
|
+
property :title_link, as: 'titleLink'
|
489
|
+
property :updated, as: 'updated'
|
490
|
+
property :url, as: 'url'
|
491
|
+
end
|
492
|
+
|
493
|
+
class Author
|
494
|
+
# @private
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
+
property :display_name, as: 'displayName'
|
497
|
+
property :id, as: 'id'
|
498
|
+
property :image, as: 'image', class: Google::Apis::BloggerV3::Post::Author::Image, decorator: Google::Apis::BloggerV3::Post::Author::Image::Representation
|
499
|
+
|
500
|
+
property :url, as: 'url'
|
501
|
+
end
|
502
|
+
|
503
|
+
class Image
|
504
|
+
# @private
|
505
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
506
|
+
property :url, as: 'url'
|
507
|
+
end
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
class Blog
|
512
|
+
# @private
|
513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
property :id, as: 'id'
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
class Image
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :url, as: 'url'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class Location
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :lat, as: 'lat'
|
529
|
+
property :lng, as: 'lng'
|
530
|
+
property :name, as: 'name'
|
531
|
+
property :span, as: 'span'
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class Replies
|
536
|
+
# @private
|
537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
538
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::Comment, decorator: Google::Apis::BloggerV3::Comment::Representation
|
539
|
+
|
540
|
+
property :self_link, as: 'selfLink'
|
541
|
+
property :total_items, :numeric_string => true, as: 'totalItems'
|
542
|
+
end
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
class PostList
|
547
|
+
# @private
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
549
|
+
property :etag, as: 'etag'
|
550
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::Post, decorator: Google::Apis::BloggerV3::Post::Representation
|
551
|
+
|
552
|
+
property :kind, as: 'kind'
|
553
|
+
property :next_page_token, as: 'nextPageToken'
|
554
|
+
property :prev_page_token, as: 'prevPageToken'
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
class PostPerUserInfo
|
559
|
+
# @private
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
561
|
+
property :blog_id, as: 'blogId'
|
562
|
+
property :has_edit_access, as: 'hasEditAccess'
|
563
|
+
property :kind, as: 'kind'
|
564
|
+
property :post_id, as: 'postId'
|
565
|
+
property :user_id, as: 'userId'
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
class PostUserInfo
|
570
|
+
# @private
|
571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
572
|
+
property :kind, as: 'kind'
|
573
|
+
property :post, as: 'post', class: Google::Apis::BloggerV3::Post, decorator: Google::Apis::BloggerV3::Post::Representation
|
574
|
+
|
575
|
+
property :post_user_info, as: 'post_user_info', class: Google::Apis::BloggerV3::PostPerUserInfo, decorator: Google::Apis::BloggerV3::PostPerUserInfo::Representation
|
576
|
+
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
class PostUserInfosList
|
581
|
+
# @private
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
583
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV3::PostUserInfo, decorator: Google::Apis::BloggerV3::PostUserInfo::Representation
|
584
|
+
|
585
|
+
property :kind, as: 'kind'
|
586
|
+
property :next_page_token, as: 'nextPageToken'
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
class User
|
591
|
+
# @private
|
592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
593
|
+
property :about, as: 'about'
|
594
|
+
property :blogs, as: 'blogs', class: Google::Apis::BloggerV3::User::Blogs, decorator: Google::Apis::BloggerV3::User::Blogs::Representation
|
595
|
+
|
596
|
+
property :created, as: 'created'
|
597
|
+
property :display_name, as: 'displayName'
|
598
|
+
property :id, as: 'id'
|
599
|
+
property :kind, as: 'kind'
|
600
|
+
property :locale, as: 'locale', class: Google::Apis::BloggerV3::User::Locale, decorator: Google::Apis::BloggerV3::User::Locale::Representation
|
601
|
+
|
602
|
+
property :self_link, as: 'selfLink'
|
603
|
+
property :url, as: 'url'
|
604
|
+
end
|
605
|
+
|
606
|
+
class Blogs
|
607
|
+
# @private
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
609
|
+
property :self_link, as: 'selfLink'
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
class Locale
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :country, as: 'country'
|
617
|
+
property :language, as: 'language'
|
618
|
+
property :variant, as: 'variant'
|
619
|
+
end
|
620
|
+
end
|
621
|
+
end
|
622
|
+
end
|
623
|
+
end
|
624
|
+
end
|