30 #ifndef GOOGLE_GMAIL_API_MODIFY_MESSAGE_REQUEST_H_ 31 #define GOOGLE_GMAIL_API_MODIFY_MESSAGE_REQUEST_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 84 return StringPiece(
"google_gmail_api::ModifyMessageRequest");
93 return Storage().isMember(
"addLabelIds");
100 MutableStorage()->removeMember(
"addLabelIds");
108 const Json::Value& storage = Storage(
"addLabelIds");
109 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
121 Json::Value* storage = MutableStorage(
"addLabelIds");
122 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
131 return Storage().isMember(
"removeLabelIds");
138 MutableStorage()->removeMember(
"removeLabelIds");
147 const Json::Value& storage = Storage(
"removeLabelIds");
148 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
160 Json::Value* storage = MutableStorage(
"removeLabelIds");
161 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
168 #endif // GOOGLE_GMAIL_API_MODIFY_MESSAGE_REQUEST_H_ bool has_remove_label_ids() const
Definition: modify_message_request.h:130
const StringPiece GetTypeName() const
Definition: modify_message_request.h:83
client::JsonCppArray< string > mutable_removeLabelIds()
Definition: modify_message_request.h:159
const client::JsonCppArray< string > get_add_label_ids() const
Definition: modify_message_request.h:107
Definition: modify_message_request.h:50
void clear_remove_label_ids()
Definition: modify_message_request.h:137
Definition: auto_forwarding.h:38
bool has_add_label_ids() const
Definition: modify_message_request.h:92
client::JsonCppArray< string > mutable_addLabelIds()
Definition: modify_message_request.h:120
void clear_add_label_ids()
Definition: modify_message_request.h:99
const client::JsonCppArray< string > get_remove_label_ids() const
Definition: modify_message_request.h:146
Definition: auto_forwarding.cc:40