google-apis-blogger_v2 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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_v2.rb +15 -0
- data/lib/google/apis/blogger_v2.rb +36 -0
- data/lib/google/apis/blogger_v2/classes.rb +1198 -0
- data/lib/google/apis/blogger_v2/gem_version.rb +28 -0
- data/lib/google/apis/blogger_v2/representations.rb +544 -0
- data/lib/google/apis/blogger_v2/service.rb +350 -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 BloggerV2
|
18
|
+
# Version of the google-apis-blogger_v2 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,544 @@
|
|
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 BloggerV2
|
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 Post
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
class Author
|
143
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
144
|
+
|
145
|
+
class Image
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
include Google::Apis::Core::JsonObjectSupport
|
152
|
+
end
|
153
|
+
|
154
|
+
class Blog
|
155
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
156
|
+
|
157
|
+
include Google::Apis::Core::JsonObjectSupport
|
158
|
+
end
|
159
|
+
|
160
|
+
class Image
|
161
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
162
|
+
|
163
|
+
include Google::Apis::Core::JsonObjectSupport
|
164
|
+
end
|
165
|
+
|
166
|
+
class Location
|
167
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
168
|
+
|
169
|
+
include Google::Apis::Core::JsonObjectSupport
|
170
|
+
end
|
171
|
+
|
172
|
+
class Replies
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
174
|
+
|
175
|
+
include Google::Apis::Core::JsonObjectSupport
|
176
|
+
end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class PostList
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class User
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
class Blogs
|
191
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
192
|
+
|
193
|
+
include Google::Apis::Core::JsonObjectSupport
|
194
|
+
end
|
195
|
+
|
196
|
+
class Locale
|
197
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
198
|
+
|
199
|
+
include Google::Apis::Core::JsonObjectSupport
|
200
|
+
end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class Blog
|
206
|
+
# @private
|
207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
+
property :custom_meta_data, as: 'customMetaData'
|
209
|
+
property :description, as: 'description'
|
210
|
+
property :id, as: 'id'
|
211
|
+
property :kind, as: 'kind'
|
212
|
+
property :locale, as: 'locale', class: Google::Apis::BloggerV2::Blog::Locale, decorator: Google::Apis::BloggerV2::Blog::Locale::Representation
|
213
|
+
|
214
|
+
property :name, as: 'name'
|
215
|
+
property :pages, as: 'pages', class: Google::Apis::BloggerV2::Blog::Pages, decorator: Google::Apis::BloggerV2::Blog::Pages::Representation
|
216
|
+
|
217
|
+
property :posts, as: 'posts', class: Google::Apis::BloggerV2::Blog::Posts, decorator: Google::Apis::BloggerV2::Blog::Posts::Representation
|
218
|
+
|
219
|
+
property :published, as: 'published'
|
220
|
+
property :self_link, as: 'selfLink'
|
221
|
+
property :status, as: 'status'
|
222
|
+
property :updated, as: 'updated'
|
223
|
+
property :url, as: 'url'
|
224
|
+
end
|
225
|
+
|
226
|
+
class Locale
|
227
|
+
# @private
|
228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
+
property :country, as: 'country'
|
230
|
+
property :language, as: 'language'
|
231
|
+
property :variant, as: 'variant'
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
class Pages
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
property :self_link, as: 'selfLink'
|
239
|
+
property :total_items, as: 'totalItems'
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
class Posts
|
244
|
+
# @private
|
245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
246
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV2::Post, decorator: Google::Apis::BloggerV2::Post::Representation
|
247
|
+
|
248
|
+
property :self_link, as: 'selfLink'
|
249
|
+
property :total_items, as: 'totalItems'
|
250
|
+
end
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class BlogList
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
collection :blog_user_infos, as: 'blogUserInfos', class: Google::Apis::BloggerV2::BlogUserInfo, decorator: Google::Apis::BloggerV2::BlogUserInfo::Representation
|
258
|
+
|
259
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV2::Blog, decorator: Google::Apis::BloggerV2::Blog::Representation
|
260
|
+
|
261
|
+
property :kind, as: 'kind'
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
class BlogPerUserInfo
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :blog_id, as: 'blogId'
|
269
|
+
property :has_admin_access, as: 'hasAdminAccess'
|
270
|
+
property :kind, as: 'kind'
|
271
|
+
property :photos_album_key, as: 'photosAlbumKey'
|
272
|
+
property :role, as: 'role'
|
273
|
+
property :user_id, as: 'userId'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class BlogUserInfo
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV2::Blog, decorator: Google::Apis::BloggerV2::Blog::Representation
|
281
|
+
|
282
|
+
property :blog_user_info, as: 'blog_user_info', class: Google::Apis::BloggerV2::BlogPerUserInfo, decorator: Google::Apis::BloggerV2::BlogPerUserInfo::Representation
|
283
|
+
|
284
|
+
property :kind, as: 'kind'
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
class Comment
|
289
|
+
# @private
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
291
|
+
property :author, as: 'author', class: Google::Apis::BloggerV2::Comment::Author, decorator: Google::Apis::BloggerV2::Comment::Author::Representation
|
292
|
+
|
293
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV2::Comment::Blog, decorator: Google::Apis::BloggerV2::Comment::Blog::Representation
|
294
|
+
|
295
|
+
property :content, as: 'content'
|
296
|
+
property :id, as: 'id'
|
297
|
+
property :in_reply_to, as: 'inReplyTo', class: Google::Apis::BloggerV2::Comment::InReplyTo, decorator: Google::Apis::BloggerV2::Comment::InReplyTo::Representation
|
298
|
+
|
299
|
+
property :kind, as: 'kind'
|
300
|
+
property :post, as: 'post', class: Google::Apis::BloggerV2::Comment::Post, decorator: Google::Apis::BloggerV2::Comment::Post::Representation
|
301
|
+
|
302
|
+
property :published, as: 'published'
|
303
|
+
property :self_link, as: 'selfLink'
|
304
|
+
property :status, as: 'status'
|
305
|
+
property :updated, as: 'updated'
|
306
|
+
end
|
307
|
+
|
308
|
+
class Author
|
309
|
+
# @private
|
310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
+
property :display_name, as: 'displayName'
|
312
|
+
property :id, as: 'id'
|
313
|
+
property :image, as: 'image', class: Google::Apis::BloggerV2::Comment::Author::Image, decorator: Google::Apis::BloggerV2::Comment::Author::Image::Representation
|
314
|
+
|
315
|
+
property :url, as: 'url'
|
316
|
+
end
|
317
|
+
|
318
|
+
class Image
|
319
|
+
# @private
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
property :url, as: 'url'
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
class Blog
|
327
|
+
# @private
|
328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
329
|
+
property :id, as: 'id'
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
class InReplyTo
|
334
|
+
# @private
|
335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
336
|
+
property :id, as: 'id'
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class Post
|
341
|
+
# @private
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
+
property :id, as: 'id'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class CommentList
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
property :etag, as: 'etag'
|
352
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV2::Comment, decorator: Google::Apis::BloggerV2::Comment::Representation
|
353
|
+
|
354
|
+
property :kind, as: 'kind'
|
355
|
+
property :next_page_token, as: 'nextPageToken'
|
356
|
+
property :prev_page_token, as: 'prevPageToken'
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
class Page
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
property :author, as: 'author', class: Google::Apis::BloggerV2::Page::Author, decorator: Google::Apis::BloggerV2::Page::Author::Representation
|
364
|
+
|
365
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV2::Page::Blog, decorator: Google::Apis::BloggerV2::Page::Blog::Representation
|
366
|
+
|
367
|
+
property :content, as: 'content'
|
368
|
+
property :etag, as: 'etag'
|
369
|
+
property :id, as: 'id'
|
370
|
+
property :kind, as: 'kind'
|
371
|
+
property :published, as: 'published'
|
372
|
+
property :self_link, as: 'selfLink'
|
373
|
+
property :status, as: 'status'
|
374
|
+
property :title, as: 'title'
|
375
|
+
property :updated, as: 'updated'
|
376
|
+
property :url, as: 'url'
|
377
|
+
end
|
378
|
+
|
379
|
+
class Author
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :display_name, as: 'displayName'
|
383
|
+
property :id, as: 'id'
|
384
|
+
property :image, as: 'image', class: Google::Apis::BloggerV2::Page::Author::Image, decorator: Google::Apis::BloggerV2::Page::Author::Image::Representation
|
385
|
+
|
386
|
+
property :url, as: 'url'
|
387
|
+
end
|
388
|
+
|
389
|
+
class Image
|
390
|
+
# @private
|
391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
392
|
+
property :url, as: 'url'
|
393
|
+
end
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
class Blog
|
398
|
+
# @private
|
399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
400
|
+
property :id, as: 'id'
|
401
|
+
end
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
class PageList
|
406
|
+
# @private
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
408
|
+
property :etag, as: 'etag'
|
409
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV2::Page, decorator: Google::Apis::BloggerV2::Page::Representation
|
410
|
+
|
411
|
+
property :kind, as: 'kind'
|
412
|
+
property :next_page_token, as: 'nextPageToken'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class Post
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
property :author, as: 'author', class: Google::Apis::BloggerV2::Post::Author, decorator: Google::Apis::BloggerV2::Post::Author::Representation
|
420
|
+
|
421
|
+
property :blog, as: 'blog', class: Google::Apis::BloggerV2::Post::Blog, decorator: Google::Apis::BloggerV2::Post::Blog::Representation
|
422
|
+
|
423
|
+
property :content, as: 'content'
|
424
|
+
property :custom_meta_data, as: 'customMetaData'
|
425
|
+
property :etag, as: 'etag'
|
426
|
+
property :id, as: 'id'
|
427
|
+
collection :images, as: 'images', class: Google::Apis::BloggerV2::Post::Image, decorator: Google::Apis::BloggerV2::Post::Image::Representation
|
428
|
+
|
429
|
+
property :kind, as: 'kind'
|
430
|
+
collection :labels, as: 'labels'
|
431
|
+
property :location, as: 'location', class: Google::Apis::BloggerV2::Post::Location, decorator: Google::Apis::BloggerV2::Post::Location::Representation
|
432
|
+
|
433
|
+
property :published, as: 'published'
|
434
|
+
property :reader_comments, as: 'readerComments'
|
435
|
+
property :replies, as: 'replies', class: Google::Apis::BloggerV2::Post::Replies, decorator: Google::Apis::BloggerV2::Post::Replies::Representation
|
436
|
+
|
437
|
+
property :self_link, as: 'selfLink'
|
438
|
+
property :status, as: 'status'
|
439
|
+
property :title, as: 'title'
|
440
|
+
property :title_link, as: 'titleLink'
|
441
|
+
property :updated, as: 'updated'
|
442
|
+
property :url, as: 'url'
|
443
|
+
end
|
444
|
+
|
445
|
+
class Author
|
446
|
+
# @private
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
448
|
+
property :display_name, as: 'displayName'
|
449
|
+
property :id, as: 'id'
|
450
|
+
property :image, as: 'image', class: Google::Apis::BloggerV2::Post::Author::Image, decorator: Google::Apis::BloggerV2::Post::Author::Image::Representation
|
451
|
+
|
452
|
+
property :url, as: 'url'
|
453
|
+
end
|
454
|
+
|
455
|
+
class Image
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
property :url, as: 'url'
|
459
|
+
end
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
class Blog
|
464
|
+
# @private
|
465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
466
|
+
property :id, as: 'id'
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
class Image
|
471
|
+
# @private
|
472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
+
property :url, as: 'url'
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
class Location
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
property :lat, as: 'lat'
|
481
|
+
property :lng, as: 'lng'
|
482
|
+
property :name, as: 'name'
|
483
|
+
property :span, as: 'span'
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
class Replies
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV2::Comment, decorator: Google::Apis::BloggerV2::Comment::Representation
|
491
|
+
|
492
|
+
property :self_link, as: 'selfLink'
|
493
|
+
property :total_items, :numeric_string => true, as: 'totalItems'
|
494
|
+
end
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class PostList
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :etag, as: 'etag'
|
502
|
+
collection :items, as: 'items', class: Google::Apis::BloggerV2::Post, decorator: Google::Apis::BloggerV2::Post::Representation
|
503
|
+
|
504
|
+
property :kind, as: 'kind'
|
505
|
+
property :next_page_token, as: 'nextPageToken'
|
506
|
+
property :prev_page_token, as: 'prevPageToken'
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
class User
|
511
|
+
# @private
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :about, as: 'about'
|
514
|
+
property :blogs, as: 'blogs', class: Google::Apis::BloggerV2::User::Blogs, decorator: Google::Apis::BloggerV2::User::Blogs::Representation
|
515
|
+
|
516
|
+
property :created, as: 'created'
|
517
|
+
property :display_name, as: 'displayName'
|
518
|
+
property :id, as: 'id'
|
519
|
+
property :kind, as: 'kind'
|
520
|
+
property :locale, as: 'locale', class: Google::Apis::BloggerV2::User::Locale, decorator: Google::Apis::BloggerV2::User::Locale::Representation
|
521
|
+
|
522
|
+
property :self_link, as: 'selfLink'
|
523
|
+
property :url, as: 'url'
|
524
|
+
end
|
525
|
+
|
526
|
+
class Blogs
|
527
|
+
# @private
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
529
|
+
property :self_link, as: 'selfLink'
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class Locale
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :country, as: 'country'
|
537
|
+
property :language, as: 'language'
|
538
|
+
property :variant, as: 'variant'
|
539
|
+
end
|
540
|
+
end
|
541
|
+
end
|
542
|
+
end
|
543
|
+
end
|
544
|
+
end
|