30 #ifndef  GOOGLE_BLOGGER_API_POST_PER_USER_INFO_H_    31 #define  GOOGLE_BLOGGER_API_POST_PER_USER_INFO_H_    34 #include "googleapis/base/macros.h"    35 #include "googleapis/client/data/jsoncpp_data.h"    36 #include "googleapis/strings/stringpiece.h"    84     return StringPiece(
"google_blogger_api::PostPerUserInfo");
    93     return Storage().isMember(
"blogId");
   100     MutableStorage()->removeMember(
"blogId");
   108     const Json::Value& v = Storage(
"blogId");
   109     if (v == Json::Value::null) 
return StringPiece(
"");
   110     return StringPiece(v.asCString());
   121     *MutableStorage(
"blogId") = value.data();
   130     return Storage().isMember(
"hasEditAccess");
   137     MutableStorage()->removeMember(
"hasEditAccess");
   145     const Json::Value& storage = Storage(
"hasEditAccess");
   146     return client::JsonValueToCppValueHelper<bool >(storage);
   157     client::SetJsonValueFromCppValueHelper<bool >(
   158       value, MutableStorage(
"hasEditAccess"));
   167     return Storage().isMember(
"kind");
   174     MutableStorage()->removeMember(
"kind");
   182     const Json::Value& v = Storage(
"kind");
   183     if (v == Json::Value::null) 
return StringPiece(
"");
   184     return StringPiece(v.asCString());
   195     *MutableStorage(
"kind") = value.data();
   204     return Storage().isMember(
"postId");
   211     MutableStorage()->removeMember(
"postId");
   219     const Json::Value& v = Storage(
"postId");
   220     if (v == Json::Value::null) 
return StringPiece(
"");
   221     return StringPiece(v.asCString());
   232     *MutableStorage(
"postId") = value.data();
   241     return Storage().isMember(
"userId");
   248     MutableStorage()->removeMember(
"userId");
   256     const Json::Value& v = Storage(
"userId");
   257     if (v == Json::Value::null) 
return StringPiece(
"");
   258     return StringPiece(v.asCString());
   269     *MutableStorage(
"userId") = value.data();
   276 #endif  // GOOGLE_BLOGGER_API_POST_PER_USER_INFO_H_ void set_kind(const StringPiece &value)
Definition: post_per_user_info.h:194
 
void clear_kind()
Definition: post_per_user_info.h:173
 
void set_blog_id(const StringPiece &value)
Definition: post_per_user_info.h:120
 
void clear_post_id()
Definition: post_per_user_info.h:210
 
bool has_user_id() const
Definition: post_per_user_info.h:240
 
const StringPiece get_user_id() const
Definition: post_per_user_info.h:255
 
void set_has_edit_access(bool value)
Definition: post_per_user_info.h:156
 
void clear_user_id()
Definition: post_per_user_info.h:247
 
bool has_post_id() const
Definition: post_per_user_info.h:203
 
Definition: post_per_user_info.h:50
 
const StringPiece GetTypeName() const
Definition: post_per_user_info.h:83
 
bool has_kind() const
Definition: post_per_user_info.h:166
 
const StringPiece get_post_id() const
Definition: post_per_user_info.h:218
 
void clear_has_edit_access()
Definition: post_per_user_info.h:136
 
const StringPiece get_kind() const
Definition: post_per_user_info.h:181
 
void clear_blog_id()
Definition: post_per_user_info.h:99
 
const StringPiece get_blog_id() const
Definition: post_per_user_info.h:107
 
bool has_blog_id() const
Definition: post_per_user_info.h:92
 
bool get_has_edit_access() const
Definition: post_per_user_info.h:144
 
void set_post_id(const StringPiece &value)
Definition: post_per_user_info.h:231
 
void set_user_id(const StringPiece &value)
Definition: post_per_user_info.h:268
 
bool has_has_edit_access() const
Definition: post_per_user_info.h:129