30 #ifndef GOOGLE_GAMES_API_ACHIEVEMENT_UPDATE_MULTIPLE_RESPONSE_H_ 31 #define GOOGLE_GAMES_API_ACHIEVEMENT_UPDATE_MULTIPLE_RESPONSE_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/games_api/achievement_update_response.h" 86 return StringPiece(
"google_games_api::AchievementUpdateMultipleResponse");
95 return Storage().isMember(
"kind");
102 MutableStorage()->removeMember(
"kind");
110 const Json::Value& v = Storage(
"kind");
111 if (v == Json::Value::null)
return StringPiece(
"");
112 return StringPiece(v.asCString());
124 *MutableStorage(
"kind") = value.data();
133 return Storage().isMember(
"updatedAchievements");
140 MutableStorage()->removeMember(
"updatedAchievements");
148 const client::JsonCppArray<AchievementUpdateResponse > get_updated_achievements()
const;
158 client::JsonCppArray<AchievementUpdateResponse > mutable_updatedAchievements();
164 #endif // GOOGLE_GAMES_API_ACHIEVEMENT_UPDATE_MULTIPLE_RESPONSE_H_ bool has_updated_achievements() const
Definition: achievement_update_multiple_response.h:132
bool has_kind() const
Definition: achievement_update_multiple_response.h:94
const StringPiece GetTypeName() const
Definition: achievement_update_multiple_response.h:85
void set_kind(const StringPiece &value)
Definition: achievement_update_multiple_response.h:123
void clear_kind()
Definition: achievement_update_multiple_response.h:101
void clear_updated_achievements()
Definition: achievement_update_multiple_response.h:139
Definition: achievement_definition.cc:41
Definition: achievement_definition.h:39
Definition: achievement_update_multiple_response.h:52
const StringPiece get_kind() const
Definition: achievement_update_multiple_response.h:109