30 #ifndef  GOOGLE_BLOGGER_API_POST_LIST_H_    31 #define  GOOGLE_BLOGGER_API_POST_LIST_H_    34 #include "googleapis/base/macros.h"    35 #include "googleapis/client/data/jsoncpp_data.h"    36 #include "googleapis/strings/stringpiece.h"    38 #include "google/blogger_api/post.h"    66   explicit PostList(
const Json::Value& storage);
    73   explicit PostList(Json::Value* storage);
    86     return StringPiece(
"google_blogger_api::PostList");
    95     return Storage().isMember(
"etag");
   102     MutableStorage()->removeMember(
"etag");
   110     const Json::Value& v = Storage(
"etag");
   111     if (v == Json::Value::null) 
return StringPiece(
"");
   112     return StringPiece(v.asCString());
   123     *MutableStorage(
"etag") = value.data();
   132     return Storage().isMember(
"items");
   139     MutableStorage()->removeMember(
"items");
   146   const client::JsonCppArray<Post > get_items() 
const;
   155   client::JsonCppArray<Post > mutable_items();
   163     return Storage().isMember(
"kind");
   170     MutableStorage()->removeMember(
"kind");
   178     const Json::Value& v = Storage(
"kind");
   179     if (v == Json::Value::null) 
return StringPiece(
"");
   180     return StringPiece(v.asCString());
   191     *MutableStorage(
"kind") = value.data();
   200     return Storage().isMember(
"nextPageToken");
   207     MutableStorage()->removeMember(
"nextPageToken");
   215     const Json::Value& v = Storage(
"nextPageToken");
   216     if (v == Json::Value::null) 
return StringPiece(
"");
   217     return StringPiece(v.asCString());
   228     *MutableStorage(
"nextPageToken") = value.data();
   235 #endif  // GOOGLE_BLOGGER_API_POST_LIST_H_ void set_etag(const StringPiece &value)
Definition: post_list.h:122
 
const StringPiece get_etag() const
Definition: post_list.h:109
 
bool has_items() const
Definition: post_list.h:131
 
bool has_kind() const
Definition: post_list.h:162
 
const StringPiece get_kind() const
Definition: post_list.h:177
 
void set_next_page_token(const StringPiece &value)
Definition: post_list.h:227
 
bool has_next_page_token() const
Definition: post_list.h:199
 
const StringPiece get_next_page_token() const
Definition: post_list.h:214
 
void set_kind(const StringPiece &value)
Definition: post_list.h:190
 
void clear_items()
Definition: post_list.h:138
 
void clear_kind()
Definition: post_list.h:169
 
void clear_etag()
Definition: post_list.h:101
 
void clear_next_page_token()
Definition: post_list.h:206
 
const StringPiece GetTypeName() const
Definition: post_list.h:85
 
bool has_etag() const
Definition: post_list.h:94
 
Definition: post_list.h:52