30 #ifndef GOOGLE_CALENDAR_API_FREE_BUSY_GROUP_H_ 31 #define GOOGLE_CALENDAR_API_FREE_BUSY_GROUP_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/calendar_api/error.h" 86 return StringPiece(
"google_calendar_api::FreeBusyGroup");
95 return Storage().isMember(
"calendars");
102 MutableStorage()->removeMember(
"calendars");
110 const Json::Value& storage = Storage(
"calendars");
111 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
123 Json::Value* storage = MutableStorage(
"calendars");
124 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
133 return Storage().isMember(
"errors");
140 MutableStorage()->removeMember(
"errors");
147 const client::JsonCppArray<Error > get_errors()
const;
156 client::JsonCppArray<Error > mutable_errors();
162 #endif // GOOGLE_CALENDAR_API_FREE_BUSY_GROUP_H_ bool has_errors() const
Definition: free_busy_group.h:132
Definition: free_busy_group.h:52
void clear_errors()
Definition: free_busy_group.h:139
const StringPiece GetTypeName() const
Definition: free_busy_group.h:85
bool has_calendars() const
Definition: free_busy_group.h:94
void clear_calendars()
Definition: free_busy_group.h:101
client::JsonCppArray< string > mutable_calendars()
Definition: free_busy_group.h:122
const client::JsonCppArray< string > get_calendars() const
Definition: free_busy_group.h:109