30 #ifndef GOOGLE_DRIVE_API_COMMENT_REPLY_LIST_H_ 31 #define GOOGLE_DRIVE_API_COMMENT_REPLY_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/drive_api/comment_reply.h" 86 return StringPiece(
"google_drive_api::CommentReplyList");
95 return Storage().isMember(
"items");
102 MutableStorage()->removeMember(
"items");
109 const client::JsonCppArray<CommentReply > get_items()
const;
119 client::JsonCppArray<CommentReply > mutable_items();
127 return Storage().isMember(
"kind");
134 MutableStorage()->removeMember(
"kind");
142 const Json::Value& v = Storage(
"kind");
143 if (v == Json::Value::null)
return StringPiece(
"");
144 return StringPiece(v.asCString());
155 *MutableStorage(
"kind") = value.data();
164 return Storage().isMember(
"nextLink");
171 MutableStorage()->removeMember(
"nextLink");
179 const Json::Value& v = Storage(
"nextLink");
180 if (v == Json::Value::null)
return StringPiece(
"");
181 return StringPiece(v.asCString());
192 *MutableStorage(
"nextLink") = value.data();
201 return Storage().isMember(
"nextPageToken");
208 MutableStorage()->removeMember(
"nextPageToken");
216 const Json::Value& v = Storage(
"nextPageToken");
217 if (v == Json::Value::null)
return StringPiece(
"");
218 return StringPiece(v.asCString());
232 *MutableStorage(
"nextPageToken") = value.data();
241 return Storage().isMember(
"selfLink");
248 MutableStorage()->removeMember(
"selfLink");
256 const Json::Value& v = Storage(
"selfLink");
257 if (v == Json::Value::null)
return StringPiece(
"");
258 return StringPiece(v.asCString());
269 *MutableStorage(
"selfLink") = value.data();
276 #endif // GOOGLE_DRIVE_API_COMMENT_REPLY_LIST_H_