30 #ifndef GOOGLE_GMAIL_API_BATCH_MODIFY_MESSAGES_REQUEST_H_ 31 #define GOOGLE_GMAIL_API_BATCH_MODIFY_MESSAGES_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::BatchModifyMessagesRequest");
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(
"ids");
138 MutableStorage()->removeMember(
"ids");
145 const client::JsonCppArray<string >
get_ids()
const {
146 const Json::Value& storage = Storage(
"ids");
147 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
159 Json::Value* storage = MutableStorage(
"ids");
160 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
169 return Storage().isMember(
"removeLabelIds");
176 MutableStorage()->removeMember(
"removeLabelIds");
185 const Json::Value& storage = Storage(
"removeLabelIds");
186 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
198 Json::Value* storage = MutableStorage(
"removeLabelIds");
199 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
206 #endif // GOOGLE_GMAIL_API_BATCH_MODIFY_MESSAGES_REQUEST_H_ void clear_remove_label_ids()
Definition: batch_modify_messages_request.h:175
const client::JsonCppArray< string > get_remove_label_ids() const
Definition: batch_modify_messages_request.h:184
bool has_remove_label_ids() const
Definition: batch_modify_messages_request.h:168
const StringPiece GetTypeName() const
Definition: batch_modify_messages_request.h:83
void clear_ids()
Definition: batch_modify_messages_request.h:137
bool has_ids() const
Definition: batch_modify_messages_request.h:130
const client::JsonCppArray< string > get_add_label_ids() const
Definition: batch_modify_messages_request.h:107
const client::JsonCppArray< string > get_ids() const
Definition: batch_modify_messages_request.h:145
void clear_add_label_ids()
Definition: batch_modify_messages_request.h:99
client::JsonCppArray< string > mutable_addLabelIds()
Definition: batch_modify_messages_request.h:120
bool has_add_label_ids() const
Definition: batch_modify_messages_request.h:92
Definition: auto_forwarding.h:38
Definition: batch_modify_messages_request.h:50
client::JsonCppArray< string > mutable_ids()
Definition: batch_modify_messages_request.h:158
client::JsonCppArray< string > mutable_removeLabelIds()
Definition: batch_modify_messages_request.h:197
Definition: auto_forwarding.cc:40