30 #ifndef GOOGLE_GMAIL_API_HISTORY_LABEL_ADDED_H_ 31 #define GOOGLE_GMAIL_API_HISTORY_LABEL_ADDED_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/gmail_api/message.h" 86 return StringPiece(
"google_gmail_api::HistoryLabelAdded");
95 return Storage().isMember(
"labelIds");
102 MutableStorage()->removeMember(
"labelIds");
110 const Json::Value& storage = Storage(
"labelIds");
111 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
123 Json::Value* storage = MutableStorage(
"labelIds");
124 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
133 return Storage().isMember(
"message");
140 MutableStorage()->removeMember(
"message");
147 const Message get_message()
const;
159 #endif // GOOGLE_GMAIL_API_HISTORY_LABEL_ADDED_H_ Definition: history_label_added.h:52
const client::JsonCppArray< string > get_label_ids() const
Definition: history_label_added.h:109
bool has_message() const
Definition: history_label_added.h:132
bool has_label_ids() const
Definition: history_label_added.h:94
const StringPiece GetTypeName() const
Definition: history_label_added.h:85
void clear_label_ids()
Definition: history_label_added.h:101
Definition: auto_forwarding.h:38
void clear_message()
Definition: history_label_added.h:139
client::JsonCppArray< string > mutable_labelIds()
Definition: history_label_added.h:122
Definition: auto_forwarding.cc:40