30 #ifndef GOOGLE_YOUTUBE_API_CHANNEL_BRANDING_SETTINGS_H_ 31 #define GOOGLE_YOUTUBE_API_CHANNEL_BRANDING_SETTINGS_H_ 33 #include "googleapis/base/macros.h" 34 #include "googleapis/client/data/jsoncpp_data.h" 35 #include "googleapis/strings/stringpiece.h" 37 #include "google/youtube_api/channel_settings.h" 38 #include "google/youtube_api/image_settings.h" 39 #include "google/youtube_api/property_value.h" 40 #include "google/youtube_api/watch_settings.h" 88 return StringPiece(
"google_youtube_api::ChannelBrandingSettings");
97 return Storage().isMember(
"channel");
104 MutableStorage()->removeMember(
"channel");
128 return Storage().isMember(
"hints");
135 MutableStorage()->removeMember(
"hints");
142 const client::JsonCppArray<PropertyValue > get_hints()
const;
151 client::JsonCppArray<PropertyValue > mutable_hints();
159 return Storage().isMember(
"image");
166 MutableStorage()->removeMember(
"image");
190 return Storage().isMember(
"watch");
197 MutableStorage()->removeMember(
"watch");
219 #endif // GOOGLE_YOUTUBE_API_CHANNEL_BRANDING_SETTINGS_H_ void clear_hints()
Definition: channel_branding_settings.h:134
Definition: access_policy.cc:40
void clear_channel()
Definition: channel_branding_settings.h:103
void clear_watch()
Definition: channel_branding_settings.h:196
void clear_image()
Definition: channel_branding_settings.h:165
Definition: channel_settings.h:50
Definition: image_settings.h:52
bool has_hints() const
Definition: channel_branding_settings.h:127
const StringPiece GetTypeName() const
Definition: channel_branding_settings.h:87
bool has_channel() const
Definition: channel_branding_settings.h:96
Definition: access_policy.h:38
bool has_image() const
Definition: channel_branding_settings.h:158
bool has_watch() const
Definition: channel_branding_settings.h:189
Definition: watch_settings.h:50
Definition: channel_branding_settings.h:54