30 #ifndef GOOGLE_ANDROIDENTERPRISE_API_APP_RESTRICTIONS_SCHEMA_CHANGE_EVENT_H_ 31 #define GOOGLE_ANDROIDENTERPRISE_API_APP_RESTRICTIONS_SCHEMA_CHANGE_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::AppRestrictionsSchemaChangeEvent");
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_RESTRICTIONS_SCHEMA_CHANGE_EVENT_H_ const StringPiece get_product_id() const
Definition: app_restrictions_schema_change_event.h:110
void set_product_id(const StringPiece &value)
Definition: app_restrictions_schema_change_event.h:124
bool has_product_id() const
Definition: app_restrictions_schema_change_event.h:95
Definition: app_restrictions_schema_change_event.h:52
Definition: administrator.h:38
Definition: administrator.cc:40
void clear_product_id()
Definition: app_restrictions_schema_change_event.h:102
const StringPiece GetTypeName() const
Definition: app_restrictions_schema_change_event.h:86