30 #ifndef GOOGLE_DRIVE_API_TEAM_DRIVE_LIST_H_ 31 #define GOOGLE_DRIVE_API_TEAM_DRIVE_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/team_drive.h" 86 return StringPiece(
"google_drive_api::TeamDriveList");
95 return Storage().isMember(
"items");
102 MutableStorage()->removeMember(
"items");
109 const client::JsonCppArray<TeamDrive > get_items()
const;
118 client::JsonCppArray<TeamDrive > mutable_items();
126 return Storage().isMember(
"kind");
133 MutableStorage()->removeMember(
"kind");
141 const Json::Value& v = Storage(
"kind");
142 if (v == Json::Value::null)
return StringPiece(
"");
143 return StringPiece(v.asCString());
154 *MutableStorage(
"kind") = value.data();
163 return Storage().isMember(
"nextPageToken");
170 MutableStorage()->removeMember(
"nextPageToken");
178 const Json::Value& v = Storage(
"nextPageToken");
179 if (v == Json::Value::null)
return StringPiece(
"");
180 return StringPiece(v.asCString());
191 *MutableStorage(
"nextPageToken") = value.data();
198 #endif // GOOGLE_DRIVE_API_TEAM_DRIVE_LIST_H_ const StringPiece get_kind() const
Definition: team_drive_list.h:140
void set_next_page_token(const StringPiece &value)
Definition: team_drive_list.h:190
void clear_items()
Definition: team_drive_list.h:101
bool has_kind() const
Definition: team_drive_list.h:125
bool has_items() const
Definition: team_drive_list.h:94
const StringPiece GetTypeName() const
Definition: team_drive_list.h:85
void set_kind(const StringPiece &value)
Definition: team_drive_list.h:153
const StringPiece get_next_page_token() const
Definition: team_drive_list.h:177
void clear_next_page_token()
Definition: team_drive_list.h:169
Definition: team_drive_list.h:52
bool has_next_page_token() const
Definition: team_drive_list.h:162
void clear_kind()
Definition: team_drive_list.h:132