30 #ifndef GOOGLE_YOUTUBE_API_VIDEO_PROJECT_DETAILS_H_ 31 #define GOOGLE_YOUTUBE_API_VIDEO_PROJECT_DETAILS_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_youtube_api::VideoProjectDetails");
93 return Storage().isMember(
"tags");
100 MutableStorage()->removeMember(
"tags");
107 const client::JsonCppArray<string >
get_tags()
const {
108 const Json::Value& storage = Storage(
"tags");
109 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
120 Json::Value* storage = MutableStorage(
"tags");
121 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
128 #endif // GOOGLE_YOUTUBE_API_VIDEO_PROJECT_DETAILS_H_ void clear_tags()
Definition: video_project_details.h:99
Definition: access_policy.cc:40
const StringPiece GetTypeName() const
Definition: video_project_details.h:83
const client::JsonCppArray< string > get_tags() const
Definition: video_project_details.h:107
Definition: access_policy.h:38
Definition: video_project_details.h:50
client::JsonCppArray< string > mutable_tags()
Definition: video_project_details.h:119
bool has_tags() const
Definition: video_project_details.h:92