30 #ifndef GOOGLE_ANDROIDENTERPRISE_API_APP_UPDATE_EVENT_H_ 31 #define GOOGLE_ANDROIDENTERPRISE_API_APP_UPDATE_EVENT_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 87 return StringPiece(
"google_androidenterprise_api::AppUpdateEvent");
96 return Storage().isMember(
"productId");
103 MutableStorage()->removeMember(
"productId");
111 const Json::Value& v = Storage(
"productId");
112 if (v == Json::Value::null)
return StringPiece(
"");
113 return StringPiece(v.asCString());
125 *MutableStorage(
"productId") = value.data();
132 #endif // GOOGLE_ANDROIDENTERPRISE_API_APP_UPDATE_EVENT_H_ void set_product_id(const StringPiece &value)
Definition: app_update_event.h:124
bool has_product_id() const
Definition: app_update_event.h:95
void clear_product_id()
Definition: app_update_event.h:102
Definition: app_update_event.h:53
const StringPiece GetTypeName() const
Definition: app_update_event.h:86
Definition: administrator.h:38
Definition: administrator.cc:40
const StringPiece get_product_id() const
Definition: app_update_event.h:110