blogger  v3
post.h
1 // Copyright 2010 Google Inc.
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 // This code was generated by google-apis-code-generator 1.5.1
16 // Build date: 2018-10-08 17:45:39 UTC
17 // on: 2020-02-15, 10:57:39 UTC
18 // C++ generator version: 0.1.4
19 
20 // ----------------------------------------------------------------------------
21 // NOTE: This file is generated from Google APIs Discovery Service.
22 // Service:
23 // Blogger API (blogger/v3)
24 // Generated from:
25 // Version: v3
26 // Revision: 69
27 // Generated by:
28 // Tool: google-apis-code-generator 1.5.1
29 // C++: 0.1.4
30 #ifndef GOOGLE_BLOGGER_API_POST_H_
31 #define GOOGLE_BLOGGER_API_POST_H_
32 
33 #include <string>
34 #include "googleapis/base/integral_types.h"
35 #include "googleapis/base/macros.h"
36 #include "googleapis/client/data/jsoncpp_data.h"
37 #include "googleapis/client/util/date_time.h"
38 #include "googleapis/strings/stringpiece.h"
39 
40 #include "google/blogger_api/comment.h"
41 
42 namespace Json {
43 class Value;
44 } // namespace Json
45 
46 namespace google_blogger_api {
47 using namespace googleapis;
48 
54 class Post : public client::JsonCppData {
55  public:
61  class PostAuthor : public client::JsonCppData {
62  public:
68  class PostAuthorImage : public client::JsonCppData {
69  public:
75  static PostAuthorImage* New();
76 
82  explicit PostAuthorImage(const Json::Value& storage);
83 
89  explicit PostAuthorImage(Json::Value* storage);
90 
94  virtual ~PostAuthorImage();
95 
101  const StringPiece GetTypeName() const {
102  return StringPiece("google_blogger_api::PostAuthorImage");
103  }
104 
110  bool has_url() const {
111  return Storage().isMember("url");
112  }
113 
117  void clear_url() {
118  MutableStorage()->removeMember("url");
119  }
120 
121 
125  const StringPiece get_url() const {
126  const Json::Value& v = Storage("url");
127  if (v == Json::Value::null) return StringPiece("");
128  return StringPiece(v.asCString());
129  }
130 
138  void set_url(const StringPiece& value) {
139  *MutableStorage("url") = value.data();
140  }
141 
142  private:
143  void operator=(const PostAuthorImage&);
144  }; // PostAuthorImage
150  static PostAuthor* New();
151 
157  explicit PostAuthor(const Json::Value& storage);
158 
164  explicit PostAuthor(Json::Value* storage);
165 
169  virtual ~PostAuthor();
170 
176  const StringPiece GetTypeName() const {
177  return StringPiece("google_blogger_api::PostAuthor");
178  }
179 
185  bool has_display_name() const {
186  return Storage().isMember("displayName");
187  }
188 
193  MutableStorage()->removeMember("displayName");
194  }
195 
196 
200  const StringPiece get_display_name() const {
201  const Json::Value& v = Storage("displayName");
202  if (v == Json::Value::null) return StringPiece("");
203  return StringPiece(v.asCString());
204  }
205 
213  void set_display_name(const StringPiece& value) {
214  *MutableStorage("displayName") = value.data();
215  }
216 
222  bool has_id() const {
223  return Storage().isMember("id");
224  }
225 
229  void clear_id() {
230  MutableStorage()->removeMember("id");
231  }
232 
233 
237  const StringPiece get_id() const {
238  const Json::Value& v = Storage("id");
239  if (v == Json::Value::null) return StringPiece("");
240  return StringPiece(v.asCString());
241  }
242 
250  void set_id(const StringPiece& value) {
251  *MutableStorage("id") = value.data();
252  }
253 
259  bool has_image() const {
260  return Storage().isMember("image");
261  }
262 
266  void clear_image() {
267  MutableStorage()->removeMember("image");
268  }
269 
270 
274  const PostAuthorImage get_image() const {
275  const Json::Value& storage = Storage("image");
276  return client::JsonValueToCppValueHelper<PostAuthorImage >(storage);
277  }
278 
287  Json::Value* storage = MutableStorage("image");
288  return client::JsonValueToMutableCppValueHelper<PostAuthorImage >(storage);
289  }
290 
296  bool has_url() const {
297  return Storage().isMember("url");
298  }
299 
303  void clear_url() {
304  MutableStorage()->removeMember("url");
305  }
306 
307 
311  const StringPiece get_url() const {
312  const Json::Value& v = Storage("url");
313  if (v == Json::Value::null) return StringPiece("");
314  return StringPiece(v.asCString());
315  }
316 
324  void set_url(const StringPiece& value) {
325  *MutableStorage("url") = value.data();
326  }
327 
328  private:
329  void operator=(const PostAuthor&);
330  }; // PostAuthor
336  class PostBlog : public client::JsonCppData {
337  public:
343  static PostBlog* New();
344 
350  explicit PostBlog(const Json::Value& storage);
351 
357  explicit PostBlog(Json::Value* storage);
358 
362  virtual ~PostBlog();
363 
369  const StringPiece GetTypeName() const {
370  return StringPiece("google_blogger_api::PostBlog");
371  }
372 
378  bool has_id() const {
379  return Storage().isMember("id");
380  }
381 
385  void clear_id() {
386  MutableStorage()->removeMember("id");
387  }
388 
389 
393  const StringPiece get_id() const {
394  const Json::Value& v = Storage("id");
395  if (v == Json::Value::null) return StringPiece("");
396  return StringPiece(v.asCString());
397  }
398 
406  void set_id(const StringPiece& value) {
407  *MutableStorage("id") = value.data();
408  }
409 
410  private:
411  void operator=(const PostBlog&);
412  }; // PostBlog
418  class PostImages : public client::JsonCppData {
419  public:
425  static PostImages* New();
426 
432  explicit PostImages(const Json::Value& storage);
433 
439  explicit PostImages(Json::Value* storage);
440 
444  virtual ~PostImages();
445 
451  const StringPiece GetTypeName() const {
452  return StringPiece("google_blogger_api::PostImages");
453  }
454 
460  bool has_url() const {
461  return Storage().isMember("url");
462  }
463 
467  void clear_url() {
468  MutableStorage()->removeMember("url");
469  }
470 
471 
475  const StringPiece get_url() const {
476  const Json::Value& v = Storage("url");
477  if (v == Json::Value::null) return StringPiece("");
478  return StringPiece(v.asCString());
479  }
480 
485  void set_url(const StringPiece& value) {
486  *MutableStorage("url") = value.data();
487  }
488 
489  private:
490  void operator=(const PostImages&);
491  }; // PostImages
497  class PostLocation : public client::JsonCppData {
498  public:
504  static PostLocation* New();
505 
511  explicit PostLocation(const Json::Value& storage);
512 
518  explicit PostLocation(Json::Value* storage);
519 
523  virtual ~PostLocation();
524 
530  const StringPiece GetTypeName() const {
531  return StringPiece("google_blogger_api::PostLocation");
532  }
533 
539  bool has_lat() const {
540  return Storage().isMember("lat");
541  }
542 
546  void clear_lat() {
547  MutableStorage()->removeMember("lat");
548  }
549 
550 
554  double get_lat() const {
555  const Json::Value& storage = Storage("lat");
556  return client::JsonValueToCppValueHelper<double >(storage);
557  }
558 
566  void set_lat(double value) {
567  client::SetJsonValueFromCppValueHelper<double >(
568  value, MutableStorage("lat"));
569  }
570 
576  bool has_lng() const {
577  return Storage().isMember("lng");
578  }
579 
583  void clear_lng() {
584  MutableStorage()->removeMember("lng");
585  }
586 
587 
591  double get_lng() const {
592  const Json::Value& storage = Storage("lng");
593  return client::JsonValueToCppValueHelper<double >(storage);
594  }
595 
603  void set_lng(double value) {
604  client::SetJsonValueFromCppValueHelper<double >(
605  value, MutableStorage("lng"));
606  }
607 
613  bool has_name() const {
614  return Storage().isMember("name");
615  }
616 
620  void clear_name() {
621  MutableStorage()->removeMember("name");
622  }
623 
624 
628  const StringPiece get_name() const {
629  const Json::Value& v = Storage("name");
630  if (v == Json::Value::null) return StringPiece("");
631  return StringPiece(v.asCString());
632  }
633 
641  void set_name(const StringPiece& value) {
642  *MutableStorage("name") = value.data();
643  }
644 
650  bool has_span() const {
651  return Storage().isMember("span");
652  }
653 
657  void clear_span() {
658  MutableStorage()->removeMember("span");
659  }
660 
661 
665  const StringPiece get_span() const {
666  const Json::Value& v = Storage("span");
667  if (v == Json::Value::null) return StringPiece("");
668  return StringPiece(v.asCString());
669  }
670 
678  void set_span(const StringPiece& value) {
679  *MutableStorage("span") = value.data();
680  }
681 
682  private:
683  void operator=(const PostLocation&);
684  }; // PostLocation
690  class PostReplies : public client::JsonCppData {
691  public:
697  static PostReplies* New();
698 
704  explicit PostReplies(const Json::Value& storage);
705 
711  explicit PostReplies(Json::Value* storage);
712 
716  virtual ~PostReplies();
717 
723  const StringPiece GetTypeName() const {
724  return StringPiece("google_blogger_api::PostReplies");
725  }
726 
732  bool has_items() const {
733  return Storage().isMember("items");
734  }
735 
739  void clear_items() {
740  MutableStorage()->removeMember("items");
741  }
742 
743 
747  const client::JsonCppArray<Comment > get_items() const;
748 
756  client::JsonCppArray<Comment > mutable_items();
757 
763  bool has_self_link() const {
764  return Storage().isMember("selfLink");
765  }
766 
771  MutableStorage()->removeMember("selfLink");
772  }
773 
774 
778  const StringPiece get_self_link() const {
779  const Json::Value& v = Storage("selfLink");
780  if (v == Json::Value::null) return StringPiece("");
781  return StringPiece(v.asCString());
782  }
783 
791  void set_self_link(const StringPiece& value) {
792  *MutableStorage("selfLink") = value.data();
793  }
794 
800  bool has_total_items() const {
801  return Storage().isMember("totalItems");
802  }
803 
808  MutableStorage()->removeMember("totalItems");
809  }
810 
811 
815  int64 get_total_items() const {
816  const Json::Value& storage = Storage("totalItems");
817  return client::JsonValueToCppValueHelper<int64 >(storage);
818  }
819 
827  void set_total_items(int64 value) {
828  client::SetJsonValueFromCppValueHelper<int64 >(
829  value, MutableStorage("totalItems"));
830  }
831 
832  private:
833  void operator=(const PostReplies&);
834  }; // PostReplies
840  static Post* New();
841 
847  explicit Post(const Json::Value& storage);
848 
854  explicit Post(Json::Value* storage);
855 
859  virtual ~Post();
860 
866  const StringPiece GetTypeName() const {
867  return StringPiece("google_blogger_api::Post");
868  }
869 
875  bool has_author() const {
876  return Storage().isMember("author");
877  }
878 
882  void clear_author() {
883  MutableStorage()->removeMember("author");
884  }
885 
886 
890  const PostAuthor get_author() const {
891  const Json::Value& storage = Storage("author");
892  return client::JsonValueToCppValueHelper<PostAuthor >(storage);
893  }
894 
903  Json::Value* storage = MutableStorage("author");
904  return client::JsonValueToMutableCppValueHelper<PostAuthor >(storage);
905  }
906 
912  bool has_blog() const {
913  return Storage().isMember("blog");
914  }
915 
919  void clear_blog() {
920  MutableStorage()->removeMember("blog");
921  }
922 
923 
927  const PostBlog get_blog() const {
928  const Json::Value& storage = Storage("blog");
929  return client::JsonValueToCppValueHelper<PostBlog >(storage);
930  }
931 
940  Json::Value* storage = MutableStorage("blog");
941  return client::JsonValueToMutableCppValueHelper<PostBlog >(storage);
942  }
943 
949  bool has_content() const {
950  return Storage().isMember("content");
951  }
952 
956  void clear_content() {
957  MutableStorage()->removeMember("content");
958  }
959 
960 
964  const StringPiece get_content() const {
965  const Json::Value& v = Storage("content");
966  if (v == Json::Value::null) return StringPiece("");
967  return StringPiece(v.asCString());
968  }
969 
977  void set_content(const StringPiece& value) {
978  *MutableStorage("content") = value.data();
979  }
980 
986  bool has_custom_meta_data() const {
987  return Storage().isMember("customMetaData");
988  }
989 
994  MutableStorage()->removeMember("customMetaData");
995  }
996 
997 
1001  const StringPiece get_custom_meta_data() const {
1002  const Json::Value& v = Storage("customMetaData");
1003  if (v == Json::Value::null) return StringPiece("");
1004  return StringPiece(v.asCString());
1005  }
1006 
1014  void set_custom_meta_data(const StringPiece& value) {
1015  *MutableStorage("customMetaData") = value.data();
1016  }
1017 
1023  bool has_etag() const {
1024  return Storage().isMember("etag");
1025  }
1026 
1030  void clear_etag() {
1031  MutableStorage()->removeMember("etag");
1032  }
1033 
1034 
1038  const StringPiece get_etag() const {
1039  const Json::Value& v = Storage("etag");
1040  if (v == Json::Value::null) return StringPiece("");
1041  return StringPiece(v.asCString());
1042  }
1043 
1051  void set_etag(const StringPiece& value) {
1052  *MutableStorage("etag") = value.data();
1053  }
1054 
1060  bool has_id() const {
1061  return Storage().isMember("id");
1062  }
1063 
1067  void clear_id() {
1068  MutableStorage()->removeMember("id");
1069  }
1070 
1071 
1075  const StringPiece get_id() const {
1076  const Json::Value& v = Storage("id");
1077  if (v == Json::Value::null) return StringPiece("");
1078  return StringPiece(v.asCString());
1079  }
1080 
1088  void set_id(const StringPiece& value) {
1089  *MutableStorage("id") = value.data();
1090  }
1091 
1097  bool has_images() const {
1098  return Storage().isMember("images");
1099  }
1100 
1104  void clear_images() {
1105  MutableStorage()->removeMember("images");
1106  }
1107 
1108 
1112  const client::JsonCppArray<PostImages > get_images() const {
1113  const Json::Value& storage = Storage("images");
1114  return client::JsonValueToCppValueHelper<client::JsonCppArray<PostImages > >(storage);
1115  }
1116 
1124  client::JsonCppArray<PostImages > mutable_images() {
1125  Json::Value* storage = MutableStorage("images");
1126  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<PostImages > >(storage);
1127  }
1128 
1134  bool has_kind() const {
1135  return Storage().isMember("kind");
1136  }
1137 
1141  void clear_kind() {
1142  MutableStorage()->removeMember("kind");
1143  }
1144 
1145 
1149  const StringPiece get_kind() const {
1150  const Json::Value& v = Storage("kind");
1151  if (v == Json::Value::null) return StringPiece("");
1152  return StringPiece(v.asCString());
1153  }
1154 
1162  void set_kind(const StringPiece& value) {
1163  *MutableStorage("kind") = value.data();
1164  }
1165 
1171  bool has_labels() const {
1172  return Storage().isMember("labels");
1173  }
1174 
1178  void clear_labels() {
1179  MutableStorage()->removeMember("labels");
1180  }
1181 
1182 
1186  const client::JsonCppArray<string > get_labels() const {
1187  const Json::Value& storage = Storage("labels");
1188  return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
1189  }
1190 
1198  client::JsonCppArray<string > mutable_labels() {
1199  Json::Value* storage = MutableStorage("labels");
1200  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
1201  }
1202 
1208  bool has_location() const {
1209  return Storage().isMember("location");
1210  }
1211 
1216  MutableStorage()->removeMember("location");
1217  }
1218 
1219 
1223  const PostLocation get_location() const {
1224  const Json::Value& storage = Storage("location");
1225  return client::JsonValueToCppValueHelper<PostLocation >(storage);
1226  }
1227 
1237  Json::Value* storage = MutableStorage("location");
1238  return client::JsonValueToMutableCppValueHelper<PostLocation >(storage);
1239  }
1240 
1246  bool has_published() const {
1247  return Storage().isMember("published");
1248  }
1249 
1254  MutableStorage()->removeMember("published");
1255  }
1256 
1257 
1261  client::DateTime get_published() const {
1262  const Json::Value& storage = Storage("published");
1263  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1264  }
1265 
1273  void set_published(client::DateTime value) {
1274  client::SetJsonValueFromCppValueHelper<client::DateTime >(
1275  value, MutableStorage("published"));
1276  }
1277 
1283  bool has_reader_comments() const {
1284  return Storage().isMember("readerComments");
1285  }
1286 
1291  MutableStorage()->removeMember("readerComments");
1292  }
1293 
1294 
1298  const StringPiece get_reader_comments() const {
1299  const Json::Value& v = Storage("readerComments");
1300  if (v == Json::Value::null) return StringPiece("");
1301  return StringPiece(v.asCString());
1302  }
1303 
1311  void set_reader_comments(const StringPiece& value) {
1312  *MutableStorage("readerComments") = value.data();
1313  }
1314 
1320  bool has_replies() const {
1321  return Storage().isMember("replies");
1322  }
1323 
1327  void clear_replies() {
1328  MutableStorage()->removeMember("replies");
1329  }
1330 
1331 
1335  const PostReplies get_replies() const {
1336  const Json::Value& storage = Storage("replies");
1337  return client::JsonValueToCppValueHelper<PostReplies >(storage);
1338  }
1339 
1348  Json::Value* storage = MutableStorage("replies");
1349  return client::JsonValueToMutableCppValueHelper<PostReplies >(storage);
1350  }
1351 
1357  bool has_self_link() const {
1358  return Storage().isMember("selfLink");
1359  }
1360 
1365  MutableStorage()->removeMember("selfLink");
1366  }
1367 
1368 
1372  const StringPiece get_self_link() const {
1373  const Json::Value& v = Storage("selfLink");
1374  if (v == Json::Value::null) return StringPiece("");
1375  return StringPiece(v.asCString());
1376  }
1377 
1385  void set_self_link(const StringPiece& value) {
1386  *MutableStorage("selfLink") = value.data();
1387  }
1388 
1394  bool has_status() const {
1395  return Storage().isMember("status");
1396  }
1397 
1401  void clear_status() {
1402  MutableStorage()->removeMember("status");
1403  }
1404 
1405 
1409  const StringPiece get_status() const {
1410  const Json::Value& v = Storage("status");
1411  if (v == Json::Value::null) return StringPiece("");
1412  return StringPiece(v.asCString());
1413  }
1414 
1422  void set_status(const StringPiece& value) {
1423  *MutableStorage("status") = value.data();
1424  }
1425 
1431  bool has_title() const {
1432  return Storage().isMember("title");
1433  }
1434 
1438  void clear_title() {
1439  MutableStorage()->removeMember("title");
1440  }
1441 
1442 
1446  const StringPiece get_title() const {
1447  const Json::Value& v = Storage("title");
1448  if (v == Json::Value::null) return StringPiece("");
1449  return StringPiece(v.asCString());
1450  }
1451 
1459  void set_title(const StringPiece& value) {
1460  *MutableStorage("title") = value.data();
1461  }
1462 
1468  bool has_title_link() const {
1469  return Storage().isMember("titleLink");
1470  }
1471 
1476  MutableStorage()->removeMember("titleLink");
1477  }
1478 
1479 
1483  const StringPiece get_title_link() const {
1484  const Json::Value& v = Storage("titleLink");
1485  if (v == Json::Value::null) return StringPiece("");
1486  return StringPiece(v.asCString());
1487  }
1488 
1496  void set_title_link(const StringPiece& value) {
1497  *MutableStorage("titleLink") = value.data();
1498  }
1499 
1505  bool has_updated() const {
1506  return Storage().isMember("updated");
1507  }
1508 
1512  void clear_updated() {
1513  MutableStorage()->removeMember("updated");
1514  }
1515 
1516 
1520  client::DateTime get_updated() const {
1521  const Json::Value& storage = Storage("updated");
1522  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1523  }
1524 
1532  void set_updated(client::DateTime value) {
1533  client::SetJsonValueFromCppValueHelper<client::DateTime >(
1534  value, MutableStorage("updated"));
1535  }
1536 
1542  bool has_url() const {
1543  return Storage().isMember("url");
1544  }
1545 
1549  void clear_url() {
1550  MutableStorage()->removeMember("url");
1551  }
1552 
1553 
1557  const StringPiece get_url() const {
1558  const Json::Value& v = Storage("url");
1559  if (v == Json::Value::null) return StringPiece("");
1560  return StringPiece(v.asCString());
1561  }
1562 
1570  void set_url(const StringPiece& value) {
1571  *MutableStorage("url") = value.data();
1572  }
1573 
1574  private:
1575  void operator=(const Post&);
1576 }; // Post
1577 } // namespace google_blogger_api
1578 #endif // GOOGLE_BLOGGER_API_POST_H_
void set_span(const StringPiece &value)
Definition: post.h:678
bool has_image() const
Definition: post.h:259
void set_display_name(const StringPiece &value)
Definition: post.h:213
bool has_labels() const
Definition: post.h:1171
bool has_replies() const
Definition: post.h:1320
void set_id(const StringPiece &value)
Definition: post.h:1088
void clear_content()
Definition: post.h:956
const StringPiece get_reader_comments() const
Definition: post.h:1298
void clear_replies()
Definition: post.h:1327
bool has_span() const
Definition: post.h:650
const StringPiece get_id() const
Definition: post.h:1075
bool has_items() const
Definition: post.h:732
void set_published(client::DateTime value)
Definition: post.h:1273
const StringPiece get_name() const
Definition: post.h:628
bool has_name() const
Definition: post.h:613
const StringPiece get_custom_meta_data() const
Definition: post.h:1001
void clear_display_name()
Definition: post.h:192
const StringPiece get_url() const
Definition: post.h:125
void set_self_link(const StringPiece &value)
Definition: post.h:791
void clear_title_link()
Definition: post.h:1475
void set_status(const StringPiece &value)
Definition: post.h:1422
void clear_span()
Definition: post.h:657
void clear_url()
Definition: post.h:1549
bool has_location() const
Definition: post.h:1208
void clear_labels()
Definition: post.h:1178
bool has_id() const
Definition: post.h:1060
void clear_image()
Definition: post.h:266
void clear_lat()
Definition: post.h:546
void clear_published()
Definition: post.h:1253
const StringPiece GetTypeName() const
Definition: post.h:866
const StringPiece get_id() const
Definition: post.h:237
void clear_author()
Definition: post.h:882
bool has_updated() const
Definition: post.h:1505
const StringPiece GetTypeName() const
Definition: post.h:451
bool has_published() const
Definition: post.h:1246
void set_lng(double value)
Definition: post.h:603
bool has_url() const
Definition: post.h:110
void clear_id()
Definition: post.h:385
const StringPiece get_status() const
Definition: post.h:1409
void set_self_link(const StringPiece &value)
Definition: post.h:1385
const PostAuthor get_author() const
Definition: post.h:890
void clear_lng()
Definition: post.h:583
int64 get_total_items() const
Definition: post.h:815
void clear_items()
Definition: post.h:739
void clear_images()
Definition: post.h:1104
const StringPiece GetTypeName() const
Definition: post.h:723
bool has_content() const
Definition: post.h:949
const StringPiece get_self_link() const
Definition: post.h:778
bool has_display_name() const
Definition: post.h:185
const StringPiece get_kind() const
Definition: post.h:1149
PostBlog mutable_blog()
Definition: post.h:939
void set_url(const StringPiece &value)
Definition: post.h:485
void set_total_items(int64 value)
Definition: post.h:827
bool has_author() const
Definition: post.h:875
const StringPiece get_span() const
Definition: post.h:665
void clear_id()
Definition: post.h:229
const StringPiece get_etag() const
Definition: post.h:1038
void clear_url()
Definition: post.h:467
bool has_self_link() const
Definition: post.h:763
void set_url(const StringPiece &value)
Definition: post.h:324
PostLocation mutable_location()
Definition: post.h:1236
void clear_url()
Definition: post.h:303
bool has_kind() const
Definition: post.h:1134
bool has_reader_comments() const
Definition: post.h:1283
void set_name(const StringPiece &value)
Definition: post.h:641
const StringPiece get_url() const
Definition: post.h:311
bool has_url() const
Definition: post.h:460
const StringPiece get_id() const
Definition: post.h:393
void set_etag(const StringPiece &value)
Definition: post.h:1051
void set_url(const StringPiece &value)
Definition: post.h:1570
void clear_self_link()
Definition: post.h:770
Definition: blog.cc:44
void clear_total_items()
Definition: post.h:807
void set_url(const StringPiece &value)
Definition: post.h:138
bool has_url() const
Definition: post.h:296
const client::JsonCppArray< PostImages > get_images() const
Definition: post.h:1112
void clear_id()
Definition: post.h:1067
bool has_custom_meta_data() const
Definition: post.h:986
bool has_title() const
Definition: post.h:1431
Definition: blog.h:42
bool has_lng() const
Definition: post.h:576
bool has_id() const
Definition: post.h:378
void clear_updated()
Definition: post.h:1512
client::DateTime get_updated() const
Definition: post.h:1520
const StringPiece get_self_link() const
Definition: post.h:1372
void set_id(const StringPiece &value)
Definition: post.h:406
void clear_reader_comments()
Definition: post.h:1290
bool has_total_items() const
Definition: post.h:800
const StringPiece get_title_link() const
Definition: post.h:1483
void clear_title()
Definition: post.h:1438
void set_title_link(const StringPiece &value)
Definition: post.h:1496
void set_id(const StringPiece &value)
Definition: post.h:250
void clear_etag()
Definition: post.h:1030
void set_content(const StringPiece &value)
Definition: post.h:977
void set_lat(double value)
Definition: post.h:566
const StringPiece get_content() const
Definition: post.h:964
void clear_status()
Definition: post.h:1401
bool has_self_link() const
Definition: post.h:1357
const client::JsonCppArray< string > get_labels() const
Definition: post.h:1186
const StringPiece get_url() const
Definition: post.h:475
bool has_status() const
Definition: post.h:1394
double get_lat() const
Definition: post.h:554
const StringPiece GetTypeName() const
Definition: post.h:176
const StringPiece get_title() const
Definition: post.h:1446
bool has_images() const
Definition: post.h:1097
void set_reader_comments(const StringPiece &value)
Definition: post.h:1311
PostAuthorImage mutable_image()
Definition: post.h:286
Definition: post.h:54
bool has_lat() const
Definition: post.h:539
void clear_self_link()
Definition: post.h:1364
const PostReplies get_replies() const
Definition: post.h:1335
void clear_blog()
Definition: post.h:919
void clear_name()
Definition: post.h:620
double get_lng() const
Definition: post.h:591
bool has_etag() const
Definition: post.h:1023
void set_custom_meta_data(const StringPiece &value)
Definition: post.h:1014
const StringPiece GetTypeName() const
Definition: post.h:101
void set_updated(client::DateTime value)
Definition: post.h:1532
bool has_id() const
Definition: post.h:222
const PostLocation get_location() const
Definition: post.h:1223
const PostAuthorImage get_image() const
Definition: post.h:274
const PostBlog get_blog() const
Definition: post.h:927
const StringPiece GetTypeName() const
Definition: post.h:530
void clear_kind()
Definition: post.h:1141
client::JsonCppArray< PostImages > mutable_images()
Definition: post.h:1124
void set_title(const StringPiece &value)
Definition: post.h:1459
bool has_url() const
Definition: post.h:1542
PostReplies mutable_replies()
Definition: post.h:1347
bool has_blog() const
Definition: post.h:912
void clear_custom_meta_data()
Definition: post.h:993
const StringPiece get_display_name() const
Definition: post.h:200
client::DateTime get_published() const
Definition: post.h:1261
void clear_location()
Definition: post.h:1215
void set_kind(const StringPiece &value)
Definition: post.h:1162
const StringPiece GetTypeName() const
Definition: post.h:369
client::JsonCppArray< string > mutable_labels()
Definition: post.h:1198
bool has_title_link() const
Definition: post.h:1468
const StringPiece get_url() const
Definition: post.h:1557
PostAuthor mutable_author()
Definition: post.h:902