30 #ifndef GOOGLE_YOUTUBE_API_CHANNEL_SECTION_CONTENT_DETAILS_H_ 31 #define GOOGLE_YOUTUBE_API_CHANNEL_SECTION_CONTENT_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::ChannelSectionContentDetails");
93 return Storage().isMember(
"channels");
100 MutableStorage()->removeMember(
"channels");
108 const Json::Value& storage = Storage(
"channels");
109 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
121 Json::Value* storage = MutableStorage(
"channels");
122 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
131 return Storage().isMember(
"playlists");
138 MutableStorage()->removeMember(
"playlists");
146 const Json::Value& storage = Storage(
"playlists");
147 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
160 Json::Value* storage = MutableStorage(
"playlists");
161 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
168 #endif // GOOGLE_YOUTUBE_API_CHANNEL_SECTION_CONTENT_DETAILS_H_ const client::JsonCppArray< string > get_channels() const
Definition: channel_section_content_details.h:107
Definition: channel_section_content_details.h:50
Definition: access_policy.cc:40
bool has_playlists() const
Definition: channel_section_content_details.h:130
bool has_channels() const
Definition: channel_section_content_details.h:92
const StringPiece GetTypeName() const
Definition: channel_section_content_details.h:83
Definition: access_policy.h:38
void clear_playlists()
Definition: channel_section_content_details.h:137
client::JsonCppArray< string > mutable_channels()
Definition: channel_section_content_details.h:120
void clear_channels()
Definition: channel_section_content_details.h:99
const client::JsonCppArray< string > get_playlists() const
Definition: channel_section_content_details.h:145
client::JsonCppArray< string > mutable_playlists()
Definition: channel_section_content_details.h:159