30 #ifndef GOOGLE_YOUTUBE_API_CHANNEL_TOPIC_DETAILS_H_ 31 #define GOOGLE_YOUTUBE_API_CHANNEL_TOPIC_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::ChannelTopicDetails");
93 return Storage().isMember(
"topicCategories");
100 MutableStorage()->removeMember(
"topicCategories");
109 const Json::Value& storage = Storage(
"topicCategories");
110 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
122 Json::Value* storage = MutableStorage(
"topicCategories");
123 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
132 return Storage().isMember(
"topicIds");
139 MutableStorage()->removeMember(
"topicIds");
147 const Json::Value& storage = Storage(
"topicIds");
148 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
161 Json::Value* storage = MutableStorage(
"topicIds");
162 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
169 #endif // GOOGLE_YOUTUBE_API_CHANNEL_TOPIC_DETAILS_H_ Definition: access_policy.cc:40
bool has_topic_categories() const
Definition: channel_topic_details.h:92
void clear_topic_ids()
Definition: channel_topic_details.h:138
const StringPiece GetTypeName() const
Definition: channel_topic_details.h:83
const client::JsonCppArray< string > get_topic_categories() const
Definition: channel_topic_details.h:108
Definition: access_policy.h:38
Definition: channel_topic_details.h:50
bool has_topic_ids() const
Definition: channel_topic_details.h:131
void clear_topic_categories()
Definition: channel_topic_details.h:99
const client::JsonCppArray< string > get_topic_ids() const
Definition: channel_topic_details.h:146
client::JsonCppArray< string > mutable_topicIds()
Definition: channel_topic_details.h:160
client::JsonCppArray< string > mutable_topicCategories()
Definition: channel_topic_details.h:121