30 #ifndef GOOGLE_GMAIL_API_BATCH_DELETE_MESSAGES_REQUEST_H_ 31 #define GOOGLE_GMAIL_API_BATCH_DELETE_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::BatchDeleteMessagesRequest");
93 return Storage().isMember(
"ids");
100 MutableStorage()->removeMember(
"ids");
107 const client::JsonCppArray<string >
get_ids()
const {
108 const Json::Value& storage = Storage(
"ids");
109 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
120 Json::Value* storage = MutableStorage(
"ids");
121 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
128 #endif // GOOGLE_GMAIL_API_BATCH_DELETE_MESSAGES_REQUEST_H_ const StringPiece GetTypeName() const
Definition: batch_delete_messages_request.h:83
Definition: batch_delete_messages_request.h:50
void clear_ids()
Definition: batch_delete_messages_request.h:99
client::JsonCppArray< string > mutable_ids()
Definition: batch_delete_messages_request.h:119
bool has_ids() const
Definition: batch_delete_messages_request.h:92
const client::JsonCppArray< string > get_ids() const
Definition: batch_delete_messages_request.h:107
Definition: auto_forwarding.h:38
Definition: auto_forwarding.cc:40